tobler
asked on
How to set the classpath
Hallo everybody
The problem is that I converted all my html pages with the Html converter, to use the java Plug-in to direct my applets to run using Sun's Java 2 Runtime Environment, Standard Edition (JRE) instead of the web browser's default virtual machine.
The tag <APPLET> use the attribute ARCHIVE="myjars.jar", the HTML converter changes it to <OBJECT> with the param <PARAM NAME="ARCHIVE" VALUE="myjars.jar">. This work fine, but I don't want to use This jar file anymore, instead I want to use my classpath, in D:\Classes. Is there a way to tell the plug-in that my classes are in D:\Classes?. I tried with the Java Plug.in Control Panel, In the label Basic in the field Java Run TimeParameters to write -cp D:\Classes but it still throws an FileNotFoundException referring to my class file.
Thanks
The problem is that I converted all my html pages with the Html converter, to use the java Plug-in to direct my applets to run using Sun's Java 2 Runtime Environment, Standard Edition (JRE) instead of the web browser's default virtual machine.
The tag <APPLET> use the attribute ARCHIVE="myjars.jar", the HTML converter changes it to <OBJECT> with the param <PARAM NAME="ARCHIVE" VALUE="myjars.jar">. This work fine, but I don't want to use This jar file anymore, instead I want to use my classpath, in D:\Classes. Is there a way to tell the plug-in that my classes are in D:\Classes?. I tried with the Java Plug.in Control Panel, In the label Basic in the field Java Run TimeParameters to write -cp D:\Classes but it still throws an FileNotFoundException referring to my class file.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
you can use the < APPLET CODEBASE="your Path" ..
to use your classes on your classpath !
:)