Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/9.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jnlp文件提示mac下载JRE,但其已安装(Java 1.6.0_37)mac OSX 10.7.5_Java_Macos_Jnlp_Java Web Start - Fatal编程技术网

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

jnlp文件提示mac下载JRE,但其已安装(Java 1.6.0_37)mac OSX 10.7.5,java,macos,jnlp,java-web-start,Java,Macos,Jnlp,Java Web Start,我甚至不知道该在这里发布什么,只是电脑上的终端显示: 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 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运行时环境。我已经做到了。它最初安装了Java7,在做了一些研究之后,我发现这个jnlp文件不会在安装了Java7的情况下打开。所以我回去删除了Java7,现在这种情况正在发生

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

编辑: 航站楼说

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+'.
文件报告:/Users/administrator/Desktop/Final%20Cut%20Server.jnlp
内容类型application/xml不等于预期类型的application/x-java-jnlp-file
cvc复杂类型.2.4.a:发现以元素“icon”开头的无效内容。应为“{title}”之一。
cvc复杂类型.2.4.a:发现以元素“icon”开头的无效内容。应为“{title}”之一。
cvc复杂类型.2.4.a:发现以元素“j2se”开头的内容无效。应为“{jar,nativelib,extension,property,package}”之一。
cvc复杂类型.2.4.a:发现以元素“j2se”开头的内容无效。应为“{jar,nativelib,extension,property,package}”之一。
XML编码未知,但声明为utf-8
代码库+href'http://10.13.144.50/~fcsvr/webstart/macJnlp.php'不等于'file:/Users/administrator/Desktop/Final%20Cut%20Server.jnlp'的实际位置。
在早期的J2SE版本中,桌面图标受到bug nnnn的影响
通过添加标志优化此应用程序以供脱机使用。
“/~fcsvr/webstart/FinalCutServer.jar”的HREF可以优化为“~fcsvr/webstart/FinalCutServer.jar”。
可以通过为“/~fcsvr/webstart/FinalCutServer.jar”指定资源大小来优化下载。
通过删除download='eager'的(默认)值,可以优化位于/~fcsvr/webstart/FinalCutServer.jar的资源下载。
通过删除main='false'的(默认)值,可以优化位于/~fcsvr/webstart/FinalCutServer.jar的资源下载。
可以优化应用程序的启动。通过为/~fcsvr/webstart/FinalCutServer.jar资源指定download='lazy'。
延迟下载可能无法按预期在/~fcsvr/webstart/FinalCutServer.jar中运行,除非指定了下载“部分”。
“/~fcsvr/webstart/FinalCutServer_MacOSX.jar”的HREF可以优化为“~fcsvr/webstart/FinalCutServer_MacOSX.jar”。
可以通过为“/~fcsvr/webstart/FinalCutServer\u MacOSX.jar”指定资源大小来优化下载。
可以通过删除download='eager'的(默认)值来优化位于/~fcsvr/webstart/FinalCutServer_MacOSX.jar的资源下载。
可以优化应用程序的启动。通过为/~fcsvr/webstart/FinalCutServer\u MacOSX.jar资源指定download='lazy'。
延迟下载可能无法按预期在/~fcsvr/webstart/FinalCutServer_MacOSX.jar中运行,除非指定了下载“部分”。
“/~fcsvr/webstart/FinalCutServer_MacOSX.jar”的HREF可以优化为“~fcsvr/webstart/FinalCutServer_MacOSX.jar”。
可以通过为“/~fcsvr/webstart/FinalCutServer\u MacOSX.jar”指定资源大小来优化下载。
可以通过删除download='eager'的(默认)值来优化位于/~fcsvr/webstart/FinalCutServer_MacOSX.jar的资源下载。
可以优化应用程序的启动。通过为/~fcsvr/webstart/FinalCutServer\u MacOSX.jar资源指定download='lazy'。
延迟下载可能无法按预期在/~fcsvr/webstart/FinalCutServer_MacOSX.jar中运行,除非指定了下载“部分”。
Resource~fcsvr/webstart/FinalCutServer.icns的资源类型icns不是允许的gif、jpg、jpeg类型之一。
可以通过为“~fcsvr/webstart/FinalCutServer.icns”指定资源大小来优化下载。
可以通过指定~fcsvr/webstart/FinalCutServer.icns的宽度和高度来优化图标的加载和使用
Resource~fcsvr/webstart/FinalCutServer.icns的资源类型icns不是允许的gif、jpg、jpeg类型之一。
可以通过为“~fcsvr/webstart/FinalCutServer.icns”指定资源大小来优化下载。
可以通过指定~fcsvr/webstart/FinalCutServer.icns的宽度和高度来优化图标的加载和使用
Resource~fcsvr/webstart/FinalCutServer.png的资源类型png不是允许的gif、jpg、jpeg类型之一。
可以通过为“~fcsvr/webstart/FinalCutServer.png”指定资源大小来优化下载。
可以通过指定~fcsvr/webstart/FinalCutServer.png的宽度和高度来优化图标的加载和使用
“/FinalCutServer”的HREF可以优化为“FinalCutServer”。
请注意,java/j2se版本的“n.n*”将限制该应用程序。到特定的Java运行时,而不是更晚。通常最好将版本指定为“n.n+”。
请注意,java/j2se版本的“n.n*”将限制该应用程序。到特定的Java运行时,而不是更晚。通常最好将版本指定为“n.n+”。

对不起,我知道很多,但我甚至不知道什么是重要的,什么不是。希望这能有所帮助。

如前所述,苹果在等待安全更新时禁用了此版本和早期版本的Java。版本1.6.0_39现在通过软件更新而存在,如所述和。

我也有同样的问题,这个解决方案在这里运行得很好:


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

'/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws' file.jnlp
如果您愿意,还可以使用指向
/Library/internetplugins/JavaAppletPlugin.plugin/Contents/Home/bin/javaws

1)的符号链接替换
/usr/bin/javaws
文件(清除所有错误,刷新缓存并重试。如果