There are 2 choices for the alternative java (providing /usr/bin/java). You can also verify the selection with update-alternatives -config java command: $ sudo update-alternatives -config java You just need to install the oracle-java8-set-default package: $ sudo apt install oracle-java8-set-default 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. You must login using an Oracle account (if you don’t have an Oracle account, then creating one is free). For Windows 10 圆4-bit, choose to download the file jdk-8u251-windows-圆4.exe file. If there are other Java/JDK packages on your system, you need to select the default one. Oracle JDK 8 is distributed in archives (zip and targ.z) and installers (rpm for Linux, dmg for macOS and exe for Windows). $ sudo apt-get install oracle-java8-installer $ sudo add-apt-repository "deb trusty main" A bucket for Scoop, for Oracle Java, OpenJDK, Eclipse Temurin, IBM Semeru, Zulu, ojdkbuild, Amazon Corretto, BellSoft Liberica, SapMachine and Microsoft JDK. Follow the steps below: $ sudo apt-key adv -keyserver -recv-keys EEA14886 The JDK path is stored in a variable called JAVAHOME which is centrally located in. To install Java 8 on Debian Stretch with minimum effort, you can use WebUpd8’s Java PPA repositories. The binaries and other metadata and utility scripts in the Oracle home and Domain home, such as RCU or Configuration Wizard, use a JDK version that was used while installing the software and continue to refer to the same version of the JDK. Oracle Java 8 required by some programs and it is not available on Debian archive due to licensing issues.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |