Installing an old version of java on CentOS / x64

java

Very quick and easy:

wget http://uni-smr.ac.ru/archive/dev/java/JRE/Last-yet-Sun/jre-6u20-linux-x64.bin
./ jre-6u20-linux-x64.bin
mv /file/somewhere /else

[root@m01 bin]# export JAVA_HOME=/usr/jre1.6.0_20/
[root@m01 bin]# export PATH=$JAVA_HOME/bin:$PATH

Leave a Reply

Your email address will not be published. Required fields are marked *