Oracle JDK 7 Installation in Fedora – Step-by-step

March 21, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading Oracle JDK 7

    Download Oracle Java SE JDK 7 for Linux.

    Oracle JDK 7 i586/x8664 .rpm
  2. 3. Installing Oracle JDK 7

    And to Install Oracle Java JDK 7
    Access the Target folder:

    cd $HOME/Downloads
    

    Possibly, to check the Package is there:

    ls | grep jdk

    The grep Command refine the output List showing only the entries Matching the Keyword.
    But if you are in Trouble to Find it Out on Terminal See: How to Access Downloads Folder from Browser.

    Then to make the JDK 7 Installation simply play:

    sudo rpm -ivh install ./jdk-7*-linux*.rpm
    

    Then Update System Java to Oracle JDK 7.

    sudo update-alternatives --install /usr/bin/java java /usr/java/jdk1.7*/bin/java 1065
    
    sudo update-alternatives --install /usr/bin/javac javac /usr/java/jdk1.7*/bin/javac 1065
    sudo update-alternatives --install /usr/bin/jar jar /usr/java/jdk1.7*/bin/jar 1065
    sudo update-alternatives --install /usr/bin/javaws javaws /usr/java/jdk1.7*/bin/javaws 1065
    

    Checking or Setting the System Java Version in Use
    with:

    sudo update-alternatives --config java

    And for the Java Compiler instead:

    sudo update-alternatives --config javac

    To Switch of Java Version Just Enter the Selection Number on First, Column. :)

  3. How to Install Eclipse Java IDE:
    Eclipse Fedora Installation Guide.

    Netbeans IDE: NetBeans Fedora Installation Guide.

    IntelliJ IDEA: IntelliJ IDEA Fedora Installation Guide.

Now Thanks to Oracle-Sun Corporation you are able to Successfully Start with Java JDK Use & Development.

Contents


QuickChic Theme • Powered by WordPress