Saturday, February 06, 2016

Update Java to a Different Version on Fedora

Update Java 1.7 to 1.8 developer version on Fedora:

1. Install Java 8 (if you want to stick with openjdk developer version use this):

su -c "yum install java-1.8.0-openjdk-devel"

2. Run this command to view versions on your machine:


sudo update-alternatives --config java

3. Choose the number next to the new Java version you installed.

4. Run java -version to verify the correct version is the version referenced by the system.