Java系统级部署格式错误的deployment.config文件(Java System Level deployment Malformed deployment.config file)

编程入门 行业动态 更新时间:2024-10-05 21:24:32
Java系统级部署格式错误的deployment.config文件(Java System Level deployment Malformed deployment.config file)

我正在尝试从命令行安装Java jre 1.8u31。 我使用deployment.config文件和deployment.properties来使用系统级安装配置。

我尝试过以下方法:

deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties deployment.system.config.mandatory=true

我也尝试了以下内容

deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties deployment.system.config.mandatory=true

我已经交换了条目,希望得到一个更好的错误来描述我做错了什么。 我还在deployment.config文件中将第一行留空。 我用谷歌搜索并尝试了我在网上找到的所有例子。 在所有情况下,我都会看到一个对话框,其中包含一个错误,指出deployment.config文件的第1行格式错误。

任何建议将不胜感激。

拉斯

我尝试了所有这些格式:

I am trying to install Java jre 1.8u31 from the command line. I am using system level install configuration by using the deployment.config file and deployment.properties.

I have tried the following:

deployment.system.config=file\:C\:/WINDOWS/Sun/Java/Deployment/deployment.properties deployment.system.config.mandatory=true

I have also tried the following

deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties deployment.system.config.mandatory=true

I have swapped the entries around in hopes of getting a better error describing what I am doing wrong. I have also made the first line blank in the deployment.config file. I have googled and tried all examples I could find online. In all the cases, I am being presented a dialog box with an error that states the deployment.config file's line 1 is malformed.

Any suggestions would be greatly appreciated.

Russ

I have tried all of these formats:

最满意答案

您提供的路径应采用以下格式

deployment.system.config=file:/C:/Windows/Sun/Java/Deployment/deployment.proper‌​ties

I got the install to work correctly. What I did was put the deployment.config file in the C:\Windows\Sun\Java\Deployment directory. The property in the file was setup as so:

deployment.system.config=file\:C\:\\Sup\\Java\\UPGRADE\\Deployment\\deployment.properties

The exceptionlist file was in the same directory as the deployment.properties file.

更多推荐

本文发布于:2023-07-19 15:46:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1182595.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:错误   格式   文件   系统   deployment

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!