我有一个应用程序,使用java web start启动Swing gui.用户安装了4个版本的java 1.6(1.6.0.3,1.6.0.5,1.6.0.7.1.6.0.11)
Webstart正在选择java版本1.6.0.11,但JAVA_HOME设置为java版本1.6.0.3.这会导致webstart出现任何潜在问题吗?
>富裕
在this thread中,提到Java Web Start应用程序检查此路径中可用JRE的版本:
C:Documents and Settings[User]Application DataSunJavaDeploymentdeployment.properties
(for Windows XP)
C:Users[User]AppDataLocalLowSunJavaDeploymentdeployment.properties
(for Windows Vista)
在其中,行如:
deployment.javaws.jre.0.path=C:Program FilesJavajre6binjavaw.exe
deployment.javaws.jre.0.product=1.6.0_11
被发现.
我相信JWS将从这些设置开始,而不是来自JAVA_HOME变量的设置,这应该不是问题.
截至detailed here,
The deployment.properties
file is used for storing and retrieving deployment configuration properties in the Java Control Panel. They are also used for customizing runtime behavior for both Java Plug-in and Java Web Start.
There is always a User-Level deployment.properties
file. Its location,which is non-configurable,is described below. There may also be an (optional) System-Level deployment.properties
file.