Buscar
Social
Ofertas laborales ES

Soporte de javaHispano > Error en Instalacion de JDK

Acabo de instalar Debian 8, quise instalar manualmente el JDK de Oracle con las siguientes instrucciones

mkdir -pv /usr/lib/java/
tar xzvf jdk-8u66-linux-x64.tar.gz -C /usr/lib/java/
ln -sv /usr/lib/java/* /usr/lib/java/JAVA-ORACLE
update-alternatives --install /usr/bin/java java /usr/lib/java/JAVA-ORACLE/bin/java 100
update-alternatives --config java
update-alternatives --install /usr/bin/javac javac /usr/lib/java/JAVA-ORACLE/bin/javac 100
update-alternatives --config javac
update-alternatives --install /usr/bin/javaws javaws /usr/lib/java/JAVA-ORACLE/bin/javaws 100
update-alternatives --config javaws


update-alternatives --set java /usr/lib/java/JAVA-ORACLE/bin/java
update-alternatives --set javac /usr/lib/java/JAVA-ORACLE/bin/javac
update-alternatives --set javaws /usr/lib/java/JAVA-ORACLE/bin/javaws

nano /etc/bash.bashrc

export PATH=$PATH:/usr/lib/java/JAVA-ORACLE/bin

source /etc/profile

Pero me marca un error al ejecutar java -version
Error: could not find libjava.so
Error: Could not find Java SE Runtime Environment

Agradecere me puedas responder a mi correo ignacio030866@gmail.com

enero 12, 2016 | Unregistered CommenterIgnacio Ornelas