How to install Oracle JDK 7 on Fedora Core 19

Filed in Fedora Core | How-to | Java Leave a comment

FacebookTwitterGoogle+LinkedInTumblrShare

Application: Java SE Development Kit 7u45
Operating System: Linux – Fedora Core 19 (Schrödinger’s Cat)
Architecture: x86_64

To install Oracle JDK 7 and JRE 7 follow below.

Step 1: Download the installer.

Step 2: Installing JDK and JRE

Step 3: Testing

References

, , ,

How to install Oracle JDK 6 on Fedora Core 19

Filed in Fedora Core | How-to | Java Leave a comment

Application: Java SE Development Kit 6u45
Operating System: Linux – Fedora Core 19 (Schrödinger’s Cat)
Architecture: x86_64

By default most linux distributions (include Fedora Core) bundled with OpenJDK.
However, there are some application that only can run with Oracle JDK.
To install Oracle JDK 6 and JRE 6 follow below.

Step 1: Download the installer.

Step 2: Installing JDK and JRE

Step 3: Testing

References

, , ,

How to install JDK 6 on Fedora Core 19

Filed in Fedora Core | How-to | Java Leave a comment

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.

, ,

Installing Java OpenJDK 1.7 on Fedora Core 19

Filed in Fedora Core | How-to | Java | Language Leave a comment

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

Step 1
Clean and re-cache package list in repositories.

Step 2
Search for packages.

Step 3
Install packages.

Step 4
Set environment path.
For all users

For current user only

Step 5
Check

, , ,

TOP