简体   繁体   English

Java Web Start和Safari的问题

[英]Issues with Java Web Start and Safari

I have a Java webstart application, fully signed, and it has been deployed live for over a year now. 我有一个Java webstart应用程序,完全签名,现在已经部署了一年多。 We have never been able to get it to work with Safari for some reason. 由于某种原因,我们从未能够使用Safari。 Actually, I have not been able to get any JAWS application working with Safari. 实际上,我无法让任何JAWS应用程序与Safari一起使用。

Internet searches are spotty and I can't seem to nail down why Safari has issues with web start. 互联网搜索参差不齐,我似乎无法确定为什么Safari有网络启动问题。

EDIT 编辑
Here is the java stack trace from the Java console in Safari. 以下是Safari中Java控制台的java堆栈跟踪。 Please understand that the Java Web Start application works correctly without any issues in Firefox, IE, Chrome, etc. 请理解Java Web Start应用程序在Firefox,IE,Chrome等中没有任何问题,可以正常工作。

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)

Due to the limitations mentioned here , I've avoided the built-in AppletViewer of Java Web Start. 由于这里提到的限制,我避免使用Java Web Start的内置AppletViewer。 As an alternative, consider the hybrid applet/application approach shown here , which works in Safari, et al . 作为替代方案,请考虑此处显示的混合applet /应用程序方法,该方法适用于Safari Note that the request for access to your computer can be safely denied, as the applet runs correctly in the sandbox. 请注意,可以安全地拒绝访问您的计算机的请求,因为applet在沙箱中正确运行。

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

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