### Configuring the Java Development Kit

After the InstallShield wizard installs the JDK, you must edit your computer's environment variables to include references to the kit.

Experienced MS-DOS users can finish setting up the JDK by adjusting two variables and then rebooting the computer:

• Edit the computer's PATH variable and add a reference to the Java Development Kit's bin folder (which is C:\Program Files\Java\jdk1.5.0\bin if you installed the kit into the C:\Program Files\Java\jdk1.5.0 folder).

• Edit or create a CLASSPATH variable so that it contains a reference to the current folder—a period character and semicolon (“.;” without the quotation marks)—followed by a reference to the tools.jar file in the kit's lib folder (which is C:\Program Files\Java\jdk1.5.0\lib\tools.jar ...

Get SAMS Teach Yourself Programming with Java™ in 24 Hours, FOURTH EDITION now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.