Back to Blog
Ubuntu install jdk 86/12/2023 If anyone can answer the first question, e.g. NOTE: This covers copying a package from a server where you already have the desired version available. OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode) Then the others can be added (not sure if they're needed, but it worked for me): dpkg -i openjdk-8-jre_8u131-b11-2ubuntu1.16.04.3_bĪfter running all this, java -version gives me the expected output for the desired version: openjdk version "1.8.0_131" The headless package and certificates had to be installed together (dependency issue separately). The older version could then be installed using (adjust filenames as needed): dpkg -i openjdk-8-jre-headless_8u131-b11-2ubuntu1.16.04.3_b ca-certificates-java_20160321_all.deb On the target server I removed the default-jre package, java-common, and ca-certificates-java packages using apt-get remove to clear out the more recent version. deb file of the OpenJDK packages needed to install it 'offline' on another server as follows: apt-get install dpkg-repack So, for the second half of my question about copying a package from one install to another, I was able to use the dpkg-repack package to generate a.
0 Comments
Read More
Leave a Reply. |