Netbeans 8.0.1 not opening on MacOS Mojave

♀尐吖头ヾ 提交于 2019-12-04 21:06:46

NetBeans reads a configuration file named netbeans.conf on startup. It is just a text file containing properties, located in its etc directory within the NetBeans installation. One of the properties it might specify is the path to the default JDK to be used via property netbeans_jdkhome.

If that path becomes invalid (e.g. possibly due to upgrading on Mac) then NetBeans won't start; as described in the OP it will display the splash screen then close down.

The solution is simply to edit property netbeans_jdkhome to specify a valid path to the JDK that you want to use.

Note that netbeans_jdkhome is not necessarily specified at all in netbeans.conf, since NetBeans has other ways of determining the default JDK path. But if netbeans_jdkhome is specified it is crucial that the path is valid.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!