Labels

Android (1) bash (2) boost (2) C (34) C++ (2) cheatsheet (2) CLion (6) css (3) Debian (33) DL (17) Docker (2) Dreamweaver (2) Eclipse (3) fail2ban (4) git (5) GitHub (4) Hacking (3) html (8) http (1) iOS (1) iPad (1) IRC (1) Java (31) javascript (3) Linux (167) Mac (19) Machine Learning (1) mySQL (48) Netbeans (4) Networking (1) Nexus (1) OpenVMS (6) Oracle (1) Pandas (3) php (16) Postgresql (8) Python (9) raid (1) RedHat (14) Samba (2) Slackware (47) SQL (14) svn (1) tar (1) ThinkPad (1) Virtualbox (3) Visual Basic (1) Visual Studio (1) Windows (2)

Sunday, 30 August 2020

Install Java 8 on Debian

The following can be used to install Java 1.8 on Debian 10

From the following link;

https://adoptopenjdk.net/installation.html?variant=openjdk8&jvmVariant=hotspot#x64_linux-jdk




1) wget -qO - https://adoptopenjdk.jfrog.io/adoptopenjdk/api/gpg/key/public | sudo apt-key add -

2) sudo add-apt-repository --yes https://adoptopenjdk.jfrog.io/adoptopenjdk/deb/

If the above fails;

2) - (optional) sudo apt-get install -y software-properties-common

3) sudo apt-get install adoptopenjdk-8-hotspot



both java installations (assuming the default was installed) can be found in /usr/lib/jvm

Also, mind update netbeans.conf (probably in /usr/local/netb*/etc/) to point to java 8 as opposed to (11 for example), assuming we're using NB8.2

Failure to do the above may not prevent NB from launching but may well prevent you from Creating a New Project


No comments:

Post a Comment

Note: only a member of this blog may post a comment.