If Not True Then False

Install Oracle Java 7u79/80 on Fedora 24/23, CentOS/RHEL 7.2/6.8/5.11 - Comment Page: 9

Please note: This guide still working normally if you want install Sun/Oracle Java 7, but if you want Java 8 version, then check Install Oracle Java JDK/JRE 8 on Fedora, CentOS/RHEL. This is guide, howto Install Sun/Oracle Java JDK and JRE 7 CPU (7u79) and PSU (7u80) on Fedora 24/23/22/21/20/19/18/17/16/15/14/13/12, CentOS 7.2/6.8/5.11, Red Hat (RHEL) 7.2/6.8/5.11. Read more, what is difference...

267 Comments

Leave a Comment

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

Input your comment.
help

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Input your name.

Viitico

Hello, nice tutorial.

I have a issue, I want to know how can I remove any version of JAVA installed in my System manually and sets my system cleans that the first time?.

Cheers!

reply Reply
mns

Nice article.

The only bad thing is that its difficult to read the dark blue on dark grey background for the syntax. Otherwise its a good article.

reply Reply
epagano

y have this error

javaws: no se encontró la orden
in english
javaws: command not found

reply Reply
JR

Hi epagano,

Could you tell little more what you tried to install (JDK or JRE) and what commands you run?

reply Reply
Rafiqunnisa

Hi JR,

I want to uninstall java 1.8 and install 1.7. Below is the output for the given commands.

[root@localhost bin]# ls -la /usr/bin/java
lrwxrwxrwx. 1 root root 22 Dec 26 18:23 /usr/bin/java -> /etc/alternatives/java
[root@localhost bin]# ls -la /etc/alternatives/java
lrwxrwxrwx. 1 root root 72 Dec 26 18:23 /etc/alternatives/java -> /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.141-1.b16.fc24.x86_64/jre/bin/java
[root@localhost bin]# ls -la /usr/java/latest/jre/bin/java
ls: cannot access ‘/usr/java/latest/jre/bin/java’: No such file or directory
[root@localhost bin]# ls -la /usr/java/latest/bin/java
ls: cannot access ‘/usr/java/latest/bin/java’: No such file or directory
[root@localhost bin]# ls -la /usr/java
ls: cannot access ‘/usr/java’: No such file or directory
[root@localhost bin]# ls -la /usr/java/
ls: cannot access ‘/usr/java/’: No such file or directory
[root@localhost bin]# env |grep -i -e java -e path
PATH=/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/rafiqa/.local/bin:/home/rafiqa/bin
MODULEPATH=/etc/scl/modulefiles:/etc/scl/modulefiles:/etc/scl/modulefiles:/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
WINDOWPATH=2
[root@localhost bin]#

Please help.

reply Reply
JR

Hi Rafiqunnisa,

You have only OpenJDK 1.8 installed? Not Oracle Java at all?

reply Reply