![]() ![]() If it doesn't use the openjdk-6 paths explicitly it should work fine. You should then be able to install flowvisor. ![]() Then generate the dummy package: equivs-build ntrolÄpkg -i openjdk-6-jre-headless_7u79-2.5.5-1_all.deb (replacing the values in the Maintainer: line). The packages are built using the IcedTea build support and patches Minimal Java runtime - needed for executing non GUI Java programs, In the meantime, you can use equivs to build a fake package which pulls in openjdk-7-jre-headless instead: # as rootÄ®quivs-control ntrolÄ®dit the resulting ntrol file so it contains the following: # Commented entries have reasonable defaults.Äescription: OpenJDK Java runtime, using Hotspot JIT (headless) Update the information about available packages: sudo apt update Install the required Azul Zulu package: sudo apt install zulu-jdk For.It is available in Debian unstable, so you could install it from there if you really want to, but the suggestion to request a new package of flowvisor is better (OpenJDK 6 is old and I don't know how good its security support is). If you decide to install multiple versions of Oracle Java, you can follow the section on managing Java. There are 2 choices for the alternative java (providing /usr/bin/java).As indicated by yaegashi, the package depends on openjdk-6-jre-headless which isn't available in Debian Jessie. This tutorial provides different ways of installing Java on Debian 8: you can download the Default JRE or JDK or the Oracle JDK. ![]() Today it initially complained about ca-certificates-java and now can't even find the package. You can also verify the selection with update-alternatives -config java command: $ sudo update-alternatives -config java debian software-installation java Share Improve this question Follow edited at 15:30 asked at 2:43 Jason 1,712 5 24 30 1 Facing the same problem here. You just need to install the oracle-java8-set-default package: $ sudo apt install oracle-java8-set-default install openjdk 8 1 2 sudo apt-get update sudo apt-get install -t jessie-backports openjdk-8-jdk change default java check java version 1 2 3 4 ubdeb8:/etc/apt/ java -version openjdk version '' OpenJDK Runtime Environment (build -8u171-b11-1bpo8+1-b11) OpenJDK 64-Bit Server VM (build 25. La versin de Java OpenJDK presente en los repositorios de Debian 8 es la 7, y las versiones procedentes del repositorio Backports pueden crear ms problemas que los que solucionan, por tanto prcticamente no tenemos otra opcin que utilizar la versin oficial Oracle Java 8. Selection can be made with update-alternatives command but WebUpd8 repositories also includes a small package which makes setting Java 8 as default more easily. If there are other Java/JDK packages on your system, you need to select the default one. $ sudo apt-get install oracle-java8-installer ![]() $ sudo add-apt-repository "deb trusty main" Follow the steps below: $ sudo apt-key adv -keyserver -recv-keys EEA14886 So you have to rely on Debian Backports repository and add the following lines to the end of your /etc/apt/sources. To install Java 8 on Debian Stretch with minimum effort, you can use WebUpd8âs Java PPA repositories. The version 8 of OpenJDK is not available in main stable repository of Debian Jessie. Red Hat is providing bug fixes and security patches for OpenJDK 8 and OpenJDK 11, taking over from Oracle. Extract the tarball and install the JDK: sudo tar zxvf jdk- version -linux-å4.tar.gz -C /usr/lib/jvm. Make a directory for the JDK: sudo mkdir -p /usr/lib/jvm. Oracle is no longer maintaining OpenJDK 8 and OpenJDK 11. Note: If installing the Oracle JDK in a cloud environment, download the installer to your local client, and then use scp (secure copy) to transfer the file to your cloud machines. Oracle Java 8 required by some programs and it is not available on Debian archive due to licensing issues. The default Java JDK package is openjdk-8-jdk in Debian stretch and openjdk-11-jdk in buster. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |