JDK Problem

Hello.
Vscode - Code OSS & netbeans don't recognize jdk on my system.
I use manjaro lysia 20.0.3 gnome edition

Have a look at archlinux-java
https://wiki.archlinux.org/index.php/Java#List_compatible_Java_environments_installed

Unless you specify otherwise, netbeans will use the default jdk.
You can specify a custom one with the --jdkhome option, and if you like to make it permanent, edit NETBEANS_INSTALL_DIR/etc/netbeans.conf

Once inside netbeans, you can add more JDKs and use them per project.

here is an screenshot!![Screenshot from 2020-07-24 17-32-17

Screenshot from 2020-07-24 17-35-07

Screenshot from 2020-07-24 17-23-09

Screenshot from 2020-07-24 17-27-05

Ok, use archlinux-java then to set the default to java-14-openjdk, or install a java 8 jdk.

...and please refrain from post images where text is fine.

1 Like

Thanks for your help

Forum kindly sponsored by