尝试在浏览器中启动小程序时 java web start 挂起
我正在尝试在 Firefox 中启动 NASA World Wind 小程序。我在浏览器中看到旋转的 Java 徽标,但它在几秒钟后挂起,而且我看不到我的小程序。 我一直在尝试启用日志记录,但什么也没看到。我尝试过的事情:-
set javaplugin.trace=true in deployment.properties
set TraceBasic=true and other properties in jre/bin/.javawsrc
我希望在 AppData/LocalLow/Sun/Java/Deployment 下看到一些内容,但我根本没有收到任何诊断消息。
我已将 html、jar(签名)、jnlp 和所需的 dll 文件放在同一目录中,但浏览器中没有显示小程序,java web start 只是挂起。
有什么想法可以尝试或激发诊断信息吗?我什么也得不到!
由于下一代Java插件技术 JWS可用于配置仍然嵌入在浏览器页面中的小程序。请参阅 Java Web Start 和Applet 标签信息页面了解更多详细信息。
这是World Wind 站点上的示例。请注意,JRE 报告数字证书有问题,但小程序加载正常。此小程序的小程序元素是..
<applet id="wwjApplet" mayscript code="org.jdesktop.applet.util.JNLPAppletLauncher" width=600 height=380
archive="applet-launcher.jar, worldwind.jar, WWJApplet.jar, http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar, http://download.java.net/media/gluegen/webstart/gluegen-rt.jar">
<param name="jnlp_href" value="WWJApplet.jnlp">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="gov.nasa.worldwind.examples.applet.WWJApplet">
<param name="subapplet.displayname" value="WWJ Applet">
<param name="noddraw.check" value="true">
<param name="progressbar" value="true">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1" value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
</applet>
请注意第一个 param
,即 jnlp_href
。
I'm trying to start a NASA World Wind applet in Firefox. I see the spinning Java logo in the browser, however it hangs after a couple of seconds and I don't see my applet.
I've been trying to enable logging but I see nothing. Things I've tried:-
set javaplugin.trace=true in deployment.properties
set TraceBasic=true and other properties in jre/bin/.javawsrc
I expected to see something under AppData/LocalLow/Sun/Java/Deployment, but I get no diagnostic messages at all.
I've placed my html, jars (signed), jnlp and required dll files in the same directory, but no applet shows up in the browser, java web start just hangs.
Any ideas for things to try or something to provoke diagnostic messages? I'm getting nothing!
Since the Next Generation Java Plug-in Technology JWS can be used to configure applets that remain embedded in a browser page. See the Java Web Start & Applet tag information pages for more details.
Here is an example at the World Wind site. Note that the JRE reports a problem with the digital certificate, but otherwise the applet loads OK. The applet element for this applet is..
<applet id="wwjApplet" mayscript code="org.jdesktop.applet.util.JNLPAppletLauncher" width=600 height=380
archive="applet-launcher.jar, worldwind.jar, WWJApplet.jar, http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jar, http://download.java.net/media/gluegen/webstart/gluegen-rt.jar">
<param name="jnlp_href" value="WWJApplet.jnlp">
<param name="codebase_lookup" value="false">
<param name="subapplet.classname" value="gov.nasa.worldwind.examples.applet.WWJApplet">
<param name="subapplet.displayname" value="WWJ Applet">
<param name="noddraw.check" value="true">
<param name="progressbar" value="true">
<param name="jnlpNumExtensions" value="1">
<param name="jnlpExtension1" value="http://download.java.net/media/jogl/builds/archive/jsr-231-webstart-current/jogl.jnlp">
</applet>
Note the first param
, the jnlp_href
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论