Java Reference
In-Depth Information
After making changes to AUTOEXEC.BAT , save the file and reboot your computer. When
this is done, try the java -version command
If it displays the correct version of the kit, your system is probably configured correctly.
You'll find out for sure when you try to create a sample program later in this appendix.
A
Setting the Path on Windows NT, 2000, or XP
On a Windows NT, XP, 2000, or 2003 system, you configure the Path variable using the
Environment Variables dialog box, one of the features of the system's Control Panel.
To open this dialog box:
1. Right-click the My Computer icon on your desktop or choose Start, Properties. The
System Properties dialog box opens.
2. Click the Advanced tab to bring it to the front.
3. Click the Environment Variables button. The Environment Variables dialog box
opens (Figure A.7).
FIGURE A.7
Setting environ-
ment variables in
Windows NT, XP,
2000, or 2003.
Path system variable
You can edit two kinds of environment variables: system variables, which apply to all
users on your computer, and user variables, which only apply to you.
Path is a system variable that helps MS-DOS find programs when you run them at a
command line. It contains a list of folders separated by semicolons.
Search WWH ::




Custom Search