Re: Edit windows registry
Monday, December 22, 2003 12:26 AM
Microsoft Windows NT, 2000, and XP - To set the PATH permanently:
Choose Start, Settings, Control Panel, and double-click System. On Microsoft Windows NT, select the Environment tab; on Microsoft Windows 2000 select the Advanced tab and then Environment Variables. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is:
Capitalization doesn't matter. Click "Set", "OK" or "Apply".
The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to j2sdk1.4.2_in.
The new path takes effect in each new Command Prompt window you open after setting the PATH variable.
I'm a chinese, so, my English is very poor!
You will be set CLASS_PATH and JAVA_HOME as CLASS_PATH is ".", JAVA_HOME is "C:j2sdk1.4.2_"