$ 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
可能相关于:
$ /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
这是我之前看到的错误干净的安装。
(可能与这个错误,或者至少类似。)
答案1
Netbeans 8.2 仅适用于 Oracle JDK 8,不适用于 JDK 9。我遇到了完全相同的问题。(我认为 Netbeans 9 可以与 JDK9 一起使用,但尚未推出。)