Copy jdk-6u21-linux-i586.bin file using winscp to home dir.
Extract
#sh jdk-6u21-linux-i586.bin
#mkdir /usr/local/jdk
#mv jdk1.6.0_21 /usr/local/jdk/jdk1.6.0_21
#ln -s /usr/local/jdk/jdk1.6.0_21/ /usr/local/jdk/java
#cp jdk.csh /etc/profile.d/ jdk.csh
#cp jdk.sh /etc/profile.d/jdk.sh
#cd /etc/profile.d
#vi jdk.csh sesuaikan folder environment /usr/local/jdk/java
#vi jdk.sh sesuaikan folder environment /usr/local/jdk/java
#reboot
#Java -version
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar