- Right-click on 'My Computer' and select 'Properties'.
- Click on the 'Environment variables' button under the 'Advanced' tab.
- Now alter the 'Path' variable so that it also contains the path to the Java executable. Example, if the path is currently set to 'C:\WINDOWS\SYSTEM32', then change your path to read 'C:\WINDOWS\SYSTEM32;c:\Program Files\java\jdk\bin'.
- Download the Java Development Kit (JDK). You can download it here.
- Follow the instructions and install the JDK.
- Right-click the Computer icon on your desktop or start menu, click on properties.
- Click on Advanced system settings. A dialog box appears.
- Click on the Environment Variables button at the bottom-right of the System Properties dialog box.
- A dialog box named Environment Variables appears. Click on the TEMP variable in the User variables section. Now go down to the “Path” variable in the System Variables section and click on edit.
- The Edit System Variable dialog appears. At the end of the Variable value section append a semi-colon and then enter the path of the bin directory of you JDK. To copy the path of the bin directory follow the picture below
Thursday, 4 October 2012
Java Online Tutorial
How to configure java in windows XP