How to set Java path in Windows XP

How to set Java path in Windows XP

Windows XP
  1. Start – Control Panel – System -Advanced
  2. Click on Environment Variables, under System Variables, find PATH, and click on it.
  3. In the Edit windows, modify PATH by adding the location of the class to the value for PATH. If you do not have the item PATH, you may select to add a new variable and add PATH as the name and the location of the class as the value.
  4. Close the window.
  5. Reopen Command prompt window, and run your java code.

You may also like...

Leave a Reply