Skip to content

Instantly share code, notes, and snippets.

@davidsf
Created January 30, 2020 17:11
Show Gist options
  • Save davidsf/8c8a01341e7acceaf7d8855427c6c74b to your computer and use it in GitHub Desktop.
Save davidsf/8c8a01341e7acceaf7d8855427c6c74b to your computer and use it in GitHub Desktop.
Downgrade java version
apt-get purge openjdk-8-jre-headless
wget https://launchpad.net/~openjdk-r/+archive/ubuntu/security-deletedppa/+build/16691000/+files/openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb
apt-get install ca-certificates-java
dpkg -i openjdk-8-jre-headless_8u212-b03-0ubuntu1.16.04.1_amd64.deb
@JonasEriksson
Copy link

just a note that if you're not careful, this will also remove Tomcat if it is installed I think.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment