I downloaded Netbeans from app center (I currently run Linux Mint 19.1 64bit on a Oracle VM Virtualbox), the installation gone fine.
When I try to open Netbeans it crashes after some seconds.
I searched some threads on the forum and tried to run "netbeans" from the shell and this is the output:

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.netbeans.ProxyURLStreamHandlerFactory (file:/usr/share/netbeans/platform18/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

Also tried to run it as root but the output is the same.