java-web-start

java 8u31 plugin causes signed applets to load much slower

自闭症网瘾萝莉.ら 提交于 2019-12-21 04:02:19
问题 i have noticed that signed applets are loaded much slower with the latest plugin (included in java 8u31 and 7u75). I have debugged the situation quite a lot and i found out that the problem is directly related to the size of the jar files that are referenced in the jnlp file. The problem is that each time the applet starts, there is some 're-indexing' of the cached jar files that takes time. To reproduce the issue i did this: I created a minimal applet and in the jnlp file i used to deploy it

Unidentified developer for Java Web Start application on OS X

戏子无情 提交于 2019-12-21 03:35:23
问题 On Mac OS X 10.9 signed Java Web Start applications are blocked by default with the message: "application.jnlp" can't be opened because it is from an unidentified developer. I know it's possible to weaken the security checks to allow any application to run, but that requires a manual intervention of the end user. Is it possible to "sign" a Java Web Start application such that it is recognized as originating from an identified developer? Thank you 回答1: Apple does appear to support signing of

java jre 7u45 breaks classloader.getResources()?

夙愿已清 提交于 2019-12-20 20:38:25
问题 I have code to iterate over the results of classLoader.getResources("META-INF/MANIFEST.MF") to return the list of jars on the class path. This worked fine from 1.6.0_18 all the way to 1.7.0_40. Now 1.7.0_45 breaks this by showing a security warning popup about mixed signed/unsigned code. Small self contained testcase to demonstrate problem: package testcase; import java.io.*; import java.net.*; import java.util.Enumeration; import java.util.logging.*; public class TestCase { public static

Java Web Start - How to clear cache (or update the app from user's perspective)

北城以北 提交于 2019-12-20 17:40:29
问题 After the JNLP gets downloaded in the browser it becomes cached so it doesn't need to be downloaded again, which is good. However, as a consequence, if I update the JAR that the JNLP uses, users will still see the old version of the app that is in the cache. You can clear the cache by running this in the terminal: javaws -uninstall But obviously you could not expect from users to run this when your update is ready. It should be more seamless than that. One idea is to change the jnlp file name

How to handle java web start (jnlp) downloading progress in a preloader?

隐身守侯 提交于 2019-12-20 11:06:49
问题 Issue I have a preloader for my application that handles the Application-specific initialization. Now I'm trying to extend this so that the preloader also shows the progress of the downloaded application JARs. TL;DR Why is the preloader not getting loaded during Phase 2 , as this should handle the PreloaderFx::handleProgressNotification(); to track the downloading of the JARs I suppose? Update 14 March 2016 : Is using DownloadServiceListener the way to solve this? How to connect this to a

Can java web start run on a device without JRE?

ぃ、小莉子 提交于 2019-12-20 07:24:22
问题 I have been learning about Java web start and got interested in its features. But can my Java app downloaded and run from browser run on a device without a JRE(Java environment) installed? I have tried download a sample jar from browser with Java web start but my app can't run. Second question: Is there a feature in Java web start to check for an installed JRE and automatically setup the environment? 回答1: a JRE is required on the client to run your java Web Start application as it is

File associations in Java using jnlp.jar, without full JWS?

馋奶兔 提交于 2019-12-20 07:18:50
问题 The Java Web Start technology has an IntegrationService API for creating file associations. My question is whether it is possible to somehow use this API (possibly by including jnlp.jar in my app) to create file associations, but without the full Java Web Start technology (no website for the initial installation, the program is distributed with a traditional installer or as a simple executable jar file). The app in question is a desktop/swing app. (This question arose in the comments of the

No show anymore message of publisher Java Web Start

不羁岁月 提交于 2019-12-20 06:27:53
问题 I have developed an application via Java Web Start more or less according to this: How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app? I have packed the jar with manifest.txt, etc..but in this way I have resolved missing attributes problem, and now I have other problem this message is always showed!! I checked "No show again" and each time I press button to execute and always is showed!! I Adicionally this is my manifest file: Manifest-Version

Dynamically create response in JSF

荒凉一梦 提交于 2019-12-19 11:49:08
问题 I want to have a link on my JSF page. When you click this link, a Java Web Start application starts. The application doesnt affect the current page at all. The application just starts on its own. The problem is, I the JNLP file that starts the Java Web Start application needs to be generated on the fly. Basically I will decide which application and what paramaters for the JNLP file depending on the state of the application. Does anyone know of a way that I can accomplish this. Is it possible

Dynamically create response in JSF

只谈情不闲聊 提交于 2019-12-19 11:49:07
问题 I want to have a link on my JSF page. When you click this link, a Java Web Start application starts. The application doesnt affect the current page at all. The application just starts on its own. The problem is, I the JNLP file that starts the Java Web Start application needs to be generated on the fly. Basically I will decide which application and what paramaters for the JNLP file depending on the state of the application. Does anyone know of a way that I can accomplish this. Is it possible