我正在尝试从命令行安装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=trueI have also tried the following
deployment.system.config=file:///C:/Windows/Sun/Java/Deployment/deployment.properties deployment.system.config.mandatory=trueI 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.propertiesI 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.propertiesThe exceptionlist file was in the same directory as the deployment.properties file.
更多推荐
发布评论