I am using Ubuntu 17.04 as my OS. I want to install and use Netbeans as my php editor. So I have tried sudo apt install netbeans
and Netbeans 8.1 is now installed on my system.
But as I try to open it, it gets closed just after trying to open. Even using sudo command (sudo netbeans
) or not (as normal user).
I have tested to run app from terminal but no errors outputted (as can be seen in above image).
Update
The message.log that is asked in comment is this:
...
------------------------------------------------------------------------------- java.lang.SecurityException: setContextClassLoader at java.base/jdk.internal.misc.InnocuousThread.setContextClassLoader(InnocuousThread.java:104) at org.netbeans.ModuleManager.updateContextClassLoaders(Unknown Source) at org.netbeans.ModuleManager.(Unknown Source) at org.netbeans.core.startup.ModuleSystem.(Unknown Source) at org.netbeans.core.startup.Main.getModuleSystem(Unknown Source) INFO [null]: Last record repeated again. at org.netbeans.core.startup.Main.start(Unknown Source) at org.netbeans.core.startup.TopThreadGroup.run(Unknown Source) at java.base/java.lang.Thread.run(Thread.java:844)
Screen Shot:
According to this bug report it seems that, this issue is fixed on netbeans 8.2 but by now it is not available. Any idea?