繁体   English   中英

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

[英]jnlp file is prompting mac to download JRE, but its already installed (Java 1.6.0_37) Mac OSX 10.7.5

除了计算机上的终端显示以下信息外,我什至都不知道该在这里张贴什么:

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启动应用程序,我需要下载Java Runtime Environment。 我已经做了。 它最初安装了Java 7,经过研究后,我发现在安装Java 7的情况下无法打开此jnlp文件。 因此,我回去删除了Java 7,现在正在发生这种情况。

如果打开“ Java首选项”窗口,则可以看到确实安装了Java SE 6。 我只是不知道该怎么办。

编辑:

终端说

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+'.

对不起,我了解很多,但是我什至不知道什么是重要的,什么不是。 希望这可以帮助。

作为讨论在这里 ,苹果禁止该和早期版本的Java安全更新未决。 版本1.6.0_39是现在可以通过软件更新现存的,如描述在这里这里

我有同样的问题,这里的解决方案很好用:

http://support.apple.com/kb/HT5559

如果安装了Oracle Java 7,则可以使用以下命令运行jnlp文件:

'/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws' file.jnlp

如果需要,您也可以将符号/usr/bin/javaws文件替换为/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws /usr/bin/javaws的符号链接。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM