Quick HowTo set up oracle java runtime engine:
- download Oracle JRE tarball from Oracle Java SE Downloads
- make dir/copy to/cd to for java:
mkdir -p /usr/java/latest && cp ./jre* /usr/java/latest && cd /usr/java/latest - unpack: tar zxvf jre*
- setup alternatives:
update-alternatives --install "/usr/bin/java" "java" "/usr/java/latest/jre1.7.0_<version>/bin/java" 1 - setup this java version active:
update-alternatives --set java /usr/java/latest/jre1.7.0_<version>/bin/java - check it:
java -version - PROFIT!!1!11
Комментариев нет:
Отправить комментарий