This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
I compiled my applet in jdk 1.1.8 and try to view it using IE browser disabling Sun JVM and enabling MS JVM. I am not able to view the applet it complains java.lang.ClassNotFoundException for the applet class Works fine with the Sun JVM. Any idea what went wrong with MS JVM.
I just want to know is there any body call my bean's Getter and Setter methods with "Please" in front - My favorite quip from Bugzilla
and when I load the applet I see the following in the MS Java console.
Error loading class: com.company.project.myclass java.lang.NoClassDefFoundError java.lang.ClassNotFoundException: com.company.project.myclass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/vm/loader/URLClassLoader.loadClass at com/ms/applet/AppletPanel.securedClassLoad at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.processSentEvent at com/ms/applet/AppletPanel.run at java/lang/Thread.run
Interesting. I was able to duplicate that behavior by compiling with JDK 1.5.0. The MS VM comes up with a "class not found" error. Now if I compile with the command:
I can bring the applet up in IE with the MS VM. Maybe check your javac version to make sure you are using the one you think you are using:
or use the 1.5 compiler to generate a backwards-compatable class.
Joined: May 03, 2001
It worked .......... I was using Eclipse to compile my code. I used workbench defaults for javac which was 1.4 javac but I used jdk 1.1.8 in my classpath. When I changed the javac to 1.1 it worked Thank you very much for your tips.