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-ORACLEupdate-alternatives --install /usr/bin/java java /usr/lib/java/JAVA-ORACLE/bin/java 100update-alternatives --config javaupdate-alternatives --install /usr/bin/javac javac /usr/lib/java/JAVA-ORACLE/bin/javac 100update-alternatives --config javacupdate-alternatives --install /usr/bin/javaws javaws /usr/lib/java/JAVA-ORACLE/bin/javaws 100update-alternatives --config javaws
update-alternatives --set java /usr/lib/java/JAVA-ORACLE/bin/javaupdate-alternatives --set javac /usr/lib/java/JAVA-ORACLE/bin/javacupdate-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 -versionError: could not find libjava.soError: Could not find Java SE Runtime Environment
Agradecere me puedas responder a mi correo ignacio030866@gmail.com
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