jnlp 文件提示 mac 下载 JRE,但其已安装 (Java 1.6.0_37) Mac OSX 10.7.5

2024-01-17

我什至不知道要在这里发布什么,除了计算机上的终端显示:

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)

但由于某种原因,当我运行 JNLP 文件时,会弹出提示,说要打开此 Web Start 应用程序,我需要下载 Java 运行时环境。我已经这么做了。它最初安装了 Java 7,经过一些研究,我发现安装了 Java 7 后无法打开此 jnlp 文件。所以我回去删除了 Java 7,现在这种情况正在发生。

如果我打开 Java Preferences 窗口,我可以看到 Java SE 6 确实已安装。我只是不知道该怎么办。

EDIT:

终端说

No Java runtime present, requesting install. Unable to locate a Java Runtime to invoke.

当我放入

javaws /(path).jnlp

我还运行了 janela,并得到了这份报告:

JaNeLA 报告 - 版本 11.05.17

Report for file:/Users/administrator/Desktop/Final%20Cut%20Server.jnlp

Content type application/xml does not equal expected type of application/x-java-jnlp-file
cvc-complex-type.2.4.a: Invalid content was found starting with element 'icon'. One of '{title}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'icon'. One of '{title}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
cvc-complex-type.2.4.a: Invalid content was found starting with element 'j2se'. One of '{jar, nativelib, extension, property, package}' is expected.
XML encoding not known, but declared as utf-8
Codebase + href 'http://10.13.144.50/~fcsvr/webstart/macJnlp.php' is not equal to actual location of 'file:/Users/administrator/Desktop/Final%20Cut%20Server.jnlp'.
Desktop icons were subject to bug nnnn in earlier J2SE versions
Optimize this application for off-line use by adding the <offline-allowed /> flag.
The HREF of '/~fcsvr/webstart/FinalCutServer.jar' could be optimized to '~fcsvr/webstart/FinalCutServer.jar'.
Downloads can be optimized by specifying a resource size for '/~fcsvr/webstart/FinalCutServer.jar'.
The resource download at /~fcsvr/webstart/FinalCutServer.jar can be optimized by removing the (default) value of download='eager'.
The resource download at /~fcsvr/webstart/FinalCutServer.jar can be optimized by removing the (default) value of main='false'.
It might be possible to optimize the start-up of the app. by  specifying download='lazy' for the /~fcsvr/webstart/FinalCutServer.jar resource.
Lazy downloads might not work as expected for /~fcsvr/webstart/FinalCutServer.jar unless the download 'part' is specified. 
The HREF of '/~fcsvr/webstart/FinalCutServer_MacOSX.jar' could be optimized to '~fcsvr/webstart/FinalCutServer_MacOSX.jar'.
Downloads can be optimized by specifying a resource size for '/~fcsvr/webstart/FinalCutServer_MacOSX.jar'.
The resource download at /~fcsvr/webstart/FinalCutServer_MacOSX.jar can be optimized by removing the (default) value of download='eager'.
It might be possible to optimize the start-up of the app. by  specifying download='lazy' for the /~fcsvr/webstart/FinalCutServer_MacOSX.jar resource.
Lazy downloads might not work as expected for /~fcsvr/webstart/FinalCutServer_MacOSX.jar unless the download 'part' is specified. 
The HREF of '/~fcsvr/webstart/FinalCutServer_MacOSX.jar' could be optimized to '~fcsvr/webstart/FinalCutServer_MacOSX.jar'.
Downloads can be optimized by specifying a resource size for '/~fcsvr/webstart/FinalCutServer_MacOSX.jar'.
The resource download at /~fcsvr/webstart/FinalCutServer_MacOSX.jar can be optimized by removing the (default) value of download='eager'.
It might be possible to optimize the start-up of the app. by  specifying download='lazy' for the /~fcsvr/webstart/FinalCutServer_MacOSX.jar resource.
Lazy downloads might not work as expected for /~fcsvr/webstart/FinalCutServer_MacOSX.jar unless the download 'part' is specified. 
Resource type icns of resource ~fcsvr/webstart/FinalCutServer.icns is not one of the allowable types of gif, jpg, jpeg.
Downloads can be optimized by specifying a resource size for '~fcsvr/webstart/FinalCutServer.icns'.
Icon loading & use can be optimized by specifying the width and height for ~fcsvr/webstart/FinalCutServer.icns
Resource type icns of resource ~fcsvr/webstart/FinalCutServer.icns is not one of the allowable types of gif, jpg, jpeg.
Downloads can be optimized by specifying a resource size for '~fcsvr/webstart/FinalCutServer.icns'.
Icon loading & use can be optimized by specifying the width and height for ~fcsvr/webstart/FinalCutServer.icns
Resource type png of resource ~fcsvr/webstart/FinalCutServer.png is not one of the allowable types of gif, jpg, jpeg.
Downloads can be optimized by specifying a resource size for '~fcsvr/webstart/FinalCutServer.png'.
Icon loading & use can be optimized by specifying the width and height for ~fcsvr/webstart/FinalCutServer.png
The HREF of '/FinalCutServer' could be optimized to 'FinalCutServer'.
Note that a java/j2se version of 'n.n*' will limit the app. to that  specific Java runtime, and no later.  It is often better to specify  version as 'n.n+'.
Note that a java/j2se version of 'n.n*' will limit the app. to that  specific Java runtime, and no later.  It is often better to specify  version as 'n.n+'.

抱歉,我知道很多,但我什至不知道什么是重要的,什么是不重要的。希望这可以帮助。


正如所讨论的here http://developers.slashdot.org/story/13/02/03/1431227,Apple 已禁用此版本及早期版本的 Java,等待安全更新。版本 1.6.0_39 现已通过软件更新存在,如上所述here http://support.apple.com/kb/HT5575 and here http://support.apple.com/kb/HT1222.

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

jnlp 文件提示 mac 下载 JRE,但其已安装 (Java 1.6.0_37) Mac OSX 10.7.5 的相关文章

随机推荐