加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

java web start JAVA_HOME

发布时间:2020-12-15 01:10:15 所属栏目:Java 来源:网络整理
导读:我有一个应用程序,使用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 thre

我有一个应用程序,使用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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读