Hi i'm getting this error when i try to load my applet. Its a swing applet and i am using the microsoft JVM - Its part of my requirement (to use MS jvm). My applet definition includes an archive, my codebase is correct.. HELP PLEASE..
java.lang.ClassNotFoundException: TagApplet at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java) at com/ms/vm/loader/URLClassLoader.loadClass (URLClassLoader.java) at com/ms/applet/AppletPanel.securedClassLoad (AppletPanel.java) at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java) at com/ms/applet/AppletPanel.processSentEvent (AppletPanel.java) at com/ms/applet/AppletPanel.run (AppletPanel.java) at java/lang/Thread.run (Thread.java)
Its a swing applet and i am using the microsoft JVM - Its part of my requirement (to use MS jvm).
Ummm... dude... I think your requirements are going to have to change... the MS JVM won't run any Swing stuff... ( or any other Java 2 stuff either... )
Though I'm not sure why it's not able to find your actual applet, it should be throwing an exception on "class JApplet not found" or some such thhing. Looks like you may have other problems with finding your class, in addition to impossible requirements... Only other thing I can think to check is the manifest file in your JAR file. Is it pointing to the correct class?
Write once, run anywhere, because there's nowhere to hide! - /. A.C.
The swing classes are mostly not yet supported by browsers (the same with microsoft additions). That means you have to build a jar-file with all classes used by your applet (there are tools for it) and then use the archive="myJarForAllINeed.jar" as one of the applet parameters. Thats what the problem looks like to me.
"Nexus Dream", your display name does not comply the the Javaranch Naming rules described here. We require your display name to be two words: your first name, a space, then your last name. Fictitious names are not allowed. Please edit your profile and choose a valid display name. Accounts with invalid display names get deleted, often without warning. thanks, Dave.