Wednesday, November 21, 2012

Setting JDK on Linux

1. Download& extract JDK linux
2. open terminal, then type sudo nano /etc/profile
3. add   export PATH=$PATH:/usr/java/jdk1.5.0_07/bin to the profile last line
4. type ([Ctrl]+[X]) than [Y],  then [Enter]
5. test your JDK with javac then [Enter]

Share: