java - ClassNotFoundException for applet on some computers but not others -- related to operating system? -
some users report classnotfoundexception
error our java applet, others able use applet without issue.
we have observed problem seems correlated system's operating system.
the users can use applet have newer computers whereas ones cannot using windows xp home sp3. verified ability directly download applet typing applet url browser. firewall doesn't appear issue.
we asked use chrome remove browser variable.
do need sign applet in different way or reference applet differently within html?
we know applet
tag deprecated, doesn't explain why it's generating error users , not others.
another relevant detail: if use ip address directly, not domain name, applet loads fine.
reproduce:
1) visit http://www.cengraving.com/s/item?itemid=ch003
2) tap customize.
3) on xp machines, page generates classnotfoundexception
error saying com.designapplet.ui.designapplet
not found. (we have referenced com.designapplet.ui.designapplet.class
fails.)
4) if try again ip addr, applet loads fine on same xp machines: 67.212.167.170/s/item?itemid=ch003. can load applet directly browser www.cengraving.com/secureapplet.jar, firewall rules don't appear issue.
html:
<applet name="app" archive="/secureapplet.jar" code="com.designapplet.ui.designapplet" width="770" height="800"> <param name="itemid" value="ch003"> <param name="layoutid" value="ch0031395363931437.lay"> <param name="process" value="engraving"> <param name="qty" value="1"> <param name="id" value="171"> <param name="sessionid" value="3bf3610c74b4bb5cc5193e479cd1d930"> (html) </applet>
could inconsistency between versions of java on different versions of windows? these other places i've looked seem have similar issues result being wrong version of java being used. error message seems refer missing component.
Comments
Post a Comment