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 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.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


you can use the < APPLET CODEBASE="your Path" ..

to use your classes on your classpath !
>>How to set the classpath

  you need to set the path in autoexec.bat  if you are using JDK1.2 then set the path

    set path=%path%;c:\jdk1.2\bin;c:\JDK1.2\java\bin;
    set classpath=%classpath%;
    save the autoexec.bat then resatart windows   for changes to take effect.

good luck


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.