JAVA PATH CONFIGURATION
After you finished installing Java 2 SDK 1.4 then you need to configure path and class path.
Configuration for Windows 98
- Run MS DOS prompt, then type :
C:>set path=c:\jdk141bin
- If you install SDK in another folder, then you need to change jdk1.4 to be:
C:>set path=c:\installed folder\bin
- You can check the configuration result by type :
C:>java -version
- If you run the command above in deferent folder, then the configuration is succed
- If you don’t want to repeat the step above every time you want run java, you can add the line code bellow into autoexec.bat file.
SET PATH=C:\installation folder\bin;%PATH%
Configuration for Windows 2000/XP
You don’t need edit autoexec.bat file in Windows 2000 or XP because Windows 2000 and XP have provided GUI (Graphic User Interface) for configure Environment Variable such as PATH.
- Run Control Panel, change layout into Classic View.
- Click on Icon System.
- Choose Advanced tab
- Click Environment Variable button.
- Add path into existing PATH variable.
Download PDF File
No comments:
Post a Comment