Last active
December 22, 2023 12:11
-
-
Save bmaupin/ff99b0cc84dd3ad8c4600374f2473184 to your computer and use it in GitHub Desktop.
Install openjdk-6-jdk on Ubuntu/Xubuntu 16.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# NOTE: This is a hack and will downgrade the tzdata package. | |
# Better alternatives: | |
# - Use Azul Zulu build of OpenJDK 6 (https://www.azul.com/downloads/zulu/zulu-linux/ - make sure you enable the box labeled Older Zulu versions) | |
# - Install Java 6 directly from Oracle and install it manually (https://gist.github.com/bmaupin/16855ce1b2484c459f41ad836a7d3f2f) | |
wget http://launchpadlibrarian.net/235298493/openjdk-6-jdk_6b38-1.13.10-1_amd64.deb | |
wget http://launchpadlibrarian.net/235298496/openjdk-6-jre_6b38-1.13.10-1_amd64.deb | |
wget http://launchpadlibrarian.net/235298494/openjdk-6-jre-headless_6b38-1.13.10-1_amd64.deb | |
wget http://launchpadlibrarian.net/235298487/openjdk-6-jre-lib_6b38-1.13.10-1_all.deb | |
wget http://launchpadlibrarian.net/250277191/tzdata_2016c-0ubuntu1_all.deb | |
wget http://launchpadlibrarian.net/250277190/tzdata-java_2016c-0ubuntu1_all.deb | |
sudo dpkg -i openjdk-6-jdk_6b38-1.13.10-1_amd64.deb openjdk-6-jre_6b38-1.13.10-1_amd64.deb openjdk-6-jre-headless_6b38-1.13.10-1_amd64.deb openjdk-6-jre-lib_6b38-1.13.10-1_all.deb tzdata_2016c-0ubuntu1_all.deb tzdata-java_2016c-0ubuntu1_all.deb |
Thanks!
Great Help! Still working
can it work at ubuntu 20.04?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@besnikbelegu @catb0t I'm glad you got it working although I still don't recommend using this. I updated it to add a couple better alternatives. Thanks!