• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Mac browser can't find applet class

 
Norma Spence
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,
I have an applet that uses jdbc, and accesses a mysql database. The applet loads fine and works well in browsers running on windows, however Mac browsers can never find the .class file. Though it is there on the web server. Here are the errors:

An exception occurred:
java.lang.ClassNotFoundException: tiprog
at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderOld.java)
at com.apple.mrj.JManager.JMAppletClassLoader_IMPL.loadClass(JMAppletClassLoaderOld.java)
at com.apple.mrj.JManager.JMAppletClassLoader_ROOT.loadClass(JMAppletClassLoaderOld.java)
at com.apple.mrj.JManager.JMAppletViewer_OLD.doLoadCode(JMAppletViewerOld.java)
at com.apple.mrj.JManager.JMAppletViewer_OLD.setState(JMAppletViewerOld.java)
at com.apple.mrj.JManager.JMViewerEvent.post(JMAppletViewerOld.java)
at com.apple.mrj.JManager.AVDispatcherThread.run(JMAppletViewerOld.java)
 
Peter Gragert
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JVM of the browser is probably the reason ( and maybe
other settings).
My latest applet uses JApplet and many browsers with an
old JVM complain about not finding ...!
What a server knows is not important for the client browser!
There is maybe one ugly solution to put all the files needed
by the applet too into a jar-file (but that makes it big
and long to load for someone with a 56K modem )
Peter
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic