Hi all, Am using solaris 5.8 OS. I have a applet on the server and some jar files on my client machine(To reduce the loading time).When I load or call the applet from my browser am not able to call the jar files which are placed on my client machine.I also gave the jar files path to the Netscape JVM classpath. Its showing Java.lang.NoClassDefFoundError... Any idea about this. Need any Query, will give you further details regarding this. Thanks in Advance.
Hi Senthil, I guess it's a sandbox problem. Try to place your jar files in the jdk/jre/lib/ext directory. There it should be accessible. Regards Torsten
Joined: Oct 10, 2002
Hi Torsten, Thanks for the reply. Let me brief the methods I followed.... First I created few .jars, each jar contains atleast one .class file. Then I created an applet and an html from where the applet is called from the browser.In the applet tag I used <Applet code = "ClassName" "Arhive = jar1, jar2, ......" ></applet> Next I added the jars in my local machine(Client side) amd gave the path of the jars where they are situated in the "Systems Classpath" and also in the "Netscape JVM Classpath". The Applet stays on the server. Now when I load the browser and call the applet, the class in the jar1 is not called and showing an "java.lang.NoClassDefFoundError". This can actually work.But still getting error. Do u have any idea, about this error. Any queries, do let me know. Thanks and Regards.