Does linux have openjdk 7
![does linux have openjdk 7 does linux have openjdk 7](https://www.scala-sbt.org/1.x/docs/files/ubuntu-sources.png)
![does linux have openjdk 7 does linux have openjdk 7](https://i.ytimg.com/vi/ge0GssAaz3o/mqdefault.jpg)
Does linux have openjdk 7 install#
Ok, so to install OpenJDK 7, it’s a bit of a tricky process, but I hope my guide will assist you in achieving that. Now this error probably occured because you are using a openjdk that’s newer than OpenJDK version specific for your LineageOS version.Īs we can see in the official build guide from LineageOS Wiki, OpenJDK 1.7 is needed to build cm-13 and such)Īnd you have arrived at an error that looks something like thisĮrror: could not find jdk tools.jar, please check if your JDK was installed correctly. I'm not very experienced with Apt-pinning, so I tried other Pin-Priority values with the same luck.If you’re viewing this page you have probably tried building an older version of lineage (i.e. Openjdk-7-jre:i386 : Depends: openjdk-7-jre-headless:i386 (= 7u111-2.6.7-1~deb8u1) but it is not going to be installedĭepends: libatk1.0-0:i386 (>= 1.12.4) but it is not going to be installedĭepends: libcairo2:i386 (>= 1.2.4) but it is not going to be installedĭepends: libfontconfig1:i386 (>= 2.11) but it is not going to be installedĭepends: libfreetype6:i386 (>= 2.2.1) but it is not going to be installedĭepends: libgdk-pixbuf2.0-0:i386 (>= 2.22.0) but it is not going to be installedĭepends: libgtk2.0-0:i386 (>= 2.8.0) but it is not going to be installedĭepends: libpango-1.0-0:i386 (>= 1.14.0) but it is not going to be installedĭepends: libpangocairo-1.0-0:i386 (>= 1.14.0) but it is not going to be installedĭepends: libpangoft2-1.0-0:i386 (>= 1.14.0) but it is not going to be installedĭepends: libx11-6:i386 but it is not going to be installedĭepends: libxcomposite1:i386 (>= 1:0.3-1) but it is not going to be installedĭepends: libxext6:i386 but it is not going to be installedĭepends: libxi6:i386 but it is not going to be installedĭepends: libxrender1:i386 but it is not going to be installedĭepends: libxtst6:i386 but it is not going to be installedĭepends: libxrandr2:i386 but it is not going to be installedĭepends: libxinerama1:i386 but it is not going to be installedĭepends: libgl1-mesa-glx:i386 but it is not going to be installed orĭepends: libatk-wrapper-java-jni:i386 (>= 0.30.4-0ubuntu2) but it is not going to be installedĮ: Unable to correct problems, you have held broken packages. The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created Now, I can find package openjdk-7-jre:i386, however, when I try to install it via apt-get -t stable install openjdk-7-jre:i386 I'm getting this: Reading package lists. # stable-updates, previously known as 'volatile'ĭeb stable-updates main contrib non-freeĭeb-src stable-updates main contrib non-free etc/apt//stable.list deb stable main contrib non-freeĭeb stable/updates main contrib non-freeĭeb-src stable/updates main contrib non-free I came across the idea to pin it from the stable release (Jessie), so I added the following files: There's currently no openjdk-7-jre package available in testing, only openjdk-7-jre, which is not even available for i386 architecture and also not enough to run the applet. I need to install Java 7 32-bit to be able to work with an old applet that is only compatible with that specific version: No 64-bit, no Java 8 (please don't judge me). I am currently using Debian Stretch (testing, at the moment).