Java Web Start和Safari的问题 [英] Issues with Java Web Start and Safari

查看:192
本文介绍了Java Web Start和Safari的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Java webstart应用程序,完全签名,现在已经部署了一年多。由于某些原因,我们从未能够使用Safari。实际上,我无法使用任何 JAWS 应用程序。

I have a Java webstart application, fully signed, and it has been deployed live for over a year now. We have never been able to get it to work with Safari for some reason. Actually, I have not been able to get any JAWS application working with Safari.

互联网搜索不稳定,我似乎无法确定为什么Safari出现网页问题。

Internet searches are spotty and I can’t seem to nail down why Safari has issues with web start.

编辑


这是Safari中Java控制台的java堆栈跟踪。请理解Java Web Start应用程序在Firefox,IE,Chrome等中没有任何问题。

EDIT
Here is the java stack trace from the Java console in Safari. Please understand that the Java Web Start application works correctly without any issues in Firefox, IE, Chrome, etc.


Java Plug-in 1.6.0_29
Using JRE version 1.6.0_29-b11 Java HotSpot(TM) Client VM
User home directory = C:\Users\strings




----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
p:   reload proxy configuration
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to 
----------------------------------------------------

load: class com.novel.tech1.client.JAWSApplication not found.
java.lang.ClassNotFoundException: com.novel.tech1.client.JAWSApplication 
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)


推荐答案

由于提到的限制这里,我避免使用Java Web Start的内置AppletViewer。作为替代方案,请考虑此处中显示的混合applet /应用程序方法,该方法适用于Safari, 。请注意,可以安全地拒绝访问您的计算机的请求,因为小程序在沙箱中正确运行。

Due to the limitations mentioned here, I've avoided the built-in AppletViewer of Java Web Start. As an alternative, consider the hybrid applet/application approach shown here, which works in Safari, et al. Note that the request for access to your computer can be safely denied, as the applet runs correctly in the sandbox.

这篇关于Java Web Start和Safari的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆