Setting the classpath for running a java program

Please tell me how to set the classpath and all for running a java program. OS is Windows 2000.

The classpath should be set as part of your Java installation. It’s best to uninstall all the old Java installations , download the latest version and reinstall it.

If a program is asking for the classpath, then it may be a problem with the program and you should reinstall that.


    You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

    One Response to “Setting the classpath for running a java program”

    1. try this
      ========
      setpath=c:\windowx\commands;c:\windows;c:\jdk1.5.0\bin;

    Leave a Reply