Created
June 20, 2017 15:20
-
-
Save r2DoesInc/b216f0f896e7c4597edaf285cb83b606 to your computer and use it in GitHub Desktop.
jdk 7 setup
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
apt-get install software-properties-common debian-archive-keyring -y | |
add-apt-repository 'deb http://httpredir.debian.org/debian experimental main' | |
add-apt-repository 'deb http://httpredir.debian.org/debian sid main' | |
cat >/etc/apt/preferences.d/debian <<EOL | |
Package: * | |
Pin: release o=Debian,n=experimental | |
Pin-Priority: -1 | |
Package: * | |
Pin: release o=Debian,n=sid | |
Pin-Priority: -1 | |
Package: openjdk-7-jdk | |
Pin: release o=Debian,n=experimental | |
Pin-Priority: 500 | |
Package: openjdk-7-jre | |
Pin: release o=Debian,n=experimental | |
Pin-Priority: 500 | |
Package: openjdk-7-jre-headless | |
Pin: release o=Debian,n=experimental | |
Pin-Priority: 500 | |
Package: libjpeg62-turbo | |
Pin: release o=Debian,n=sid | |
Pin-Priority: 500 | |
EOL | |
sudo apt update | |
sudo apt install openjdk-7-jdk -y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This broke on Ubuntu Xenial 16.04.3 when openjdk-7-jdk 7u151-2.6.11-1 came out. I get:
Adding fontconfig to preferences results in a mess: