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 “./
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 🙂