O NetBeans 8.2 só funciona com o Oracle JDK 8, mas não com o JDK 9. Eu tive exatamente os mesmos problemas. (Eu acho que o Netbeans 9 funcionará com o JDK9, mas ainda não saiu).
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.04
DISTRIB_CODENAME=zesty
DISTRIB_DESCRIPTION="Ubuntu 17.04"
$ java -version
java version "9"
Java(TM) SE Runtime Environment (build 9+181)
Java HotSpot(TM) 64-Bit Server VM (build 9+181, mixed mode)
$ javac -version
javac 9
$ umake --version
16.11.1
$ umake ide netbeans
[sudo] password for thufir:
Choose installation path: /home/thufir/.local/share/umake/ide/netbeans
Downloading and installing requirements |
100% |#####################################################################################|
Installing Netbeans
|##########################################################################################|
Installation done
$ netbeans
The program 'netbeans' is currently not installed. You can install it by typing:
sudo apt install netbeans
possivelmente relacionado a:
$ /home/thufir/.local/share/umake/bin/netbeans
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/home/thufir/.local/share/umake/ide/netbeans/platform/lib/boot.jar) to field java.net.URL.handler
WARNING: Please consider reporting this to the maintainers of org.netbeans.ProxyURLStreamHandlerFactory
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
^C
que é um erro que eu estava vendo antes de uma limpeza instalar.
(Possivelmente relacionado a este erro , ou pelo menos similar.)
O NetBeans 8.2 só funciona com o Oracle JDK 8, mas não com o JDK 9. Eu tive exatamente os mesmos problemas. (Eu acho que o Netbeans 9 funcionará com o JDK9, mas ainda não saiu).