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

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 between CPU and PSU release. If you're looking instruction for Sun/Oracle Java JDK/JRE version 6 installation on Fedora 20/19/18, CentOS/Red Hat (RHEL) 6.5/5.10, please check this guide. [inttf_post_ad1] What's new in Sun/Oracle Java 7 VM Compressed 64-bit object...

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

1 8 9 10
    1. Hi JR,

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

      [[email protected] bin]# ls -la /usr/bin/java
      lrwxrwxrwx. 1 root root 22 Dec 26 18:23 /usr/bin/java -> /etc/alternatives/java
      [[email protected] 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
      [[email protected] bin]# ls -la /usr/java/latest/jre/bin/java
      ls: cannot access ‘/usr/java/latest/jre/bin/java’: No such file or directory
      [[email protected] bin]# ls -la /usr/java/latest/bin/java
      ls: cannot access ‘/usr/java/latest/bin/java’: No such file or directory
      [[email protected] bin]# ls -la /usr/java
      ls: cannot access ‘/usr/java’: No such file or directory
      [[email protected] bin]# ls -la /usr/java/
      ls: cannot access ‘/usr/java/’: No such file or directory
      [[email protected] 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
      [[email protected] bin]#

      Please help.

      Reply
      • Hi Rafiqunnisa,

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

        Reply
1 8 9 10

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close