1. Download& extract JDK linux
2. open terminal, then type
3. add
4. type ([Ctrl]+[X]) than [Y], then [Enter]
5. test your JDK with javac then [Enter]
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 line4. type ([Ctrl]+[X]) than [Y], then [Enter]
5. test your JDK with javac then [Enter]