

This isn't a real concern for developers working with the JDK. You may notice an error about the IcedTeaPlugin.so plugin being unavailable. To activate OpenJDK Java 1.7, run: sudo update-java-alternatives -s java-1.7.0-openjdk-amd64 You can view all installed java versions with update-java-alternatives -list. It will automatically finish installation of the openjdk packages. Notice, there is no need to re-run dpkg after letting apt resolve dependencies. Otherwise, if you need to resolve some dependency issues, this is handled with: sudo apt install -f If there were no dependency issues, great, you're done, skip to #4. If there were dependency problems – which is likely – you will see the following (with your architecture substituted for amd64): Errors were encountered while processing: Ubuntu 18.04 and later: sudo dpkg -i openjdk-7-* libjpeg62-turbo*Ĭheck the output from dpkg. Ubuntu 17.10 and earlier: sudo dpkg -i openjdk-7-* libjpeg62-turbo* libfontconfig1* fontconfig-config* (Attempt to) install the packages using dpkg: fontconfig-config (only Ubuntu 17.10 and earlier see note at bottom).libfontconfig1 (only Ubuntu 17.10 and earlier see note at bottom).(for most users, this means amd64 if 64bit, or i386 if 32bit Ubuntu is installed) That package's description "Copied from debian experimental in Primary Archive for Debian GNU/Linux" gives us a clue about how to handle this ourselves, though.ĭownload the packages intended for your architecture: It does not look like the maintainer of openjdk-r/ppa will be updating the openjdk-7 package beyond version 7u95-2.6.4-3.

Please refer to the other answers until this can be resolved (sorry, no ETA). In any case, they lagged behind Ubuntu Trusty's packages which contained more recent security updates. The below referenced JDK packages are no longer available on Debian Experimental.

Edit 2: This answer currently does not work.
