Home > Fedora Core | How-to | Java > How to install JDK 6 on Fedora Core 19

How to install JDK 6 on Fedora Core 19

FacebookTwitterGoogle+LinkedInTumblrShare

Operating System: Linux – Fedora Core 19 (Schrödinger’s Cat)
Architecture: x86_64

Starting from Fedora Core 17, minimum allowed Java 1.7.0.
There are still many application that can only run with Java 1.6.0.
Fedora Core 16 is the last release with Java 1.6.0 support.

Step 1: Search for the package using yum.

Step 2: Search the rpm
Go to RPM pbone.net

Perform Search
– Click on Search (Left Menu)
– Switch to Advanced
– Check Fedora 16
– Type ‘java-1.6.0-openjdk’
– Click on Search button

search

Click on the link result

search-result

Search for the Download section.

result-download

Notice that the ftp server has other related rpms too.
The one interested is java-1.6.0-openjdk-devel.

Get the FTP directory listing by pasting the URL on web browser

ftp-listing

Download the files
java-1.6.0-openjdk-1.6.0.0-71.1.11.6.fc16.x86_64.rpm

java-1.6.0-openjdk-devel-1.6.0.0-71.1.11.6.fc16.x86_64.rpm

java-1.6.0-openjdk-1.6.0-demo (optional)

java-1.6.0-openjdk-1.6.0-javadoc (optional)

Files will be downloaded to /home/user/Downloads

Step 3: Install the rpm

Note 1:
Set the JAVA_HOME to point to JDK 6.
JAVA_HOME can be set in /home/user/.bash_profile (user environment) or /etc/profile (system environment)
If you need to use both JDK 6 and JDK 7, you can always create 2 users and edit .bash_profile.
One user to use JDK 6 and another JDK 7.

Note 2:
IDE based on Eclipse allow user to specify the VM in the *.ini file.

, ,

Leave a Reply

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


8 − = one

Trackbacks:0

Listed below are links to weblogs that reference
How to install JDK 6 on Fedora Core 19 from Charles's Blog
TOP