Friday, October 11, 2013

install sun-java7 (UPDATE JAVA 7U40 ORACLE) di debian linux

#Download tarball sun java (jdk) di websitenya oracle..

#install java-package
apt-get install java-package

 
make-jpkg jdk-7u2-linux-x64.tar.gz

dpkg -i oracle-j2sdk1.7_1.7.0+update2_amd64.deb
 
sudo update-alternatives --auto java
 
update-alternatives --display java
 
sudo update-alternatives --config java  

#TINGGAL PILIH JAVA YANG INGIN DIGUNAKAN

sudo update-java-alternatives -l
 
sudo update-java-alternatives --jre -s j2sdk1.7-oracle 


#OK JAVA SUDAH TERUPDATE

https://wiki.debian.org/JavaPackage

1 comment:

have a question, just spill it :D