Your Question: How Do I Install an Older Version of Java on Linux?
Contents How Do I Downgrade Java Version in Linux? 1 Answer You Have to Install the Openjdk-8-Jre: Sudo Apt-Get Install Openjdk-8-Jre. Next Switch to the Jre-8...
Contents
How do I downgrade Java version in Linux?
1 Answer
- You have to install the openjdk-8-jre : sudo apt-get install openjdk-8-jre.
- Next switch to the jre-8 version: $ sudo update-alternatives –config java There are 2 choices for the alternative java (providing /usr/bin/java).
How do I install an older version of Java on Ubuntu?
apt-get install -d sun-java-jdk / openjdk-6-jdk — the -d will only download the file into your /var/cache/apt/arhives folder. dpkg -i –force-downgrade /var/cache/apt/archives/sun-java-jdk (the version # that you have). Lock Version in Synaptic so ubuntu doesn’t try to upgrade it again.