java web start JAVA_HOME

我有一个应用程序,使用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 Data\Sun\Java\Deployment\deployment.properties
(for Windows XP)

C:\Users\[User]\AppData\LocalLow\Sun\Java\Deployment\deployment.properties
(for Windows Vista)

在其中,行如:

deployment.javaws.jre.0.path=C\:\\Program Files\\Java\\jre6\\bin\\javaw.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.

相关文章

Alt+回车 导入包,自动修正Ctrl+N 查找类Ctrl+Sh...
运行程序出现下面错误:HTTP Status 500 ------------------...
1、建立DM的profile,使用的模版在install_root/profileTempl...
使用dom4j解析XML时,要快速获取某个节点的数据,使用XPath是...
英文操作系统导致 Debug 下的变量查看时显示乱码,可通过改变...
eclipse中javascript报错问题处理:三个地方:<1&...