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.