Downgrade from Sun Java 7 into Java 6 in Fedora Core 17


Sometimes we have some software that buggy in Sun Java JRE / JDK 7. Then it comes to us to downgrade into 6 Version. Well, isn’t difficult. All you need to do is following this step.

1. Download Oracle Sun Java JRE / JDK 6
Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html and download RPM BIN version.

2. Uninstall existing JDK / JRE 7

1
sudo yum remove jdk jre

3. Install
Execute download files by “./” and you can install extracted RPM by :

1
sudo rpm -Uvh jre-6u34-linux-amd64.rpm

4. Register your Java 6 and set as primary

1
2
3
sudo alternatives –config java
sudo alternatives –install /usr/bin/java java /usr/java/jre1.6.0_34/bin/java 2
sudo alternatives –config java

Now you can use Java 6 for your development in Fedora 🙂


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.