- Right-click on My Computer (either on the desktop or in the start-menu) and select properties.
- Click on the thumbnail Advanced.
- Click the button Environment Variables.
- If you have administrator priviledges you can either set/modify for the current user (in User vaiables) or globally for all users (in System variables).
- Finally, click OK to close the dialog box, the click OK in the Environment variables window and close the System properties window window.
In general, environment variables defining lists of paths (for example PATH or CLASSPATH) contains multiple path strings separated by “;” (semi-colon).
Changes to environment variables may not take effect until next login.