The JDK is missing and is required to run some NetBeans modules

后端 未结 9 1508
渐次进展
渐次进展 2020-12-24 01:12

Complete error message: The JDK is missing and is required to run some NetBeans modules Please use the --jdkhome command line option to specify a JDK installation or see ht

9条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-24 01:33

    This worked for me

    1. install full JDK
    2. either edit /etc/netbeans.conf
        2.1 unmark netbeans_jdkhome
        2.2 link to JDK location e.g. /usr/local/share/java/jdk1.6.0_07/ 
    3. or use --jdkhome command-line option e.g. ./bin/netbeans --jdkhome /usr/local/share/java/jdk1.6.0_07/ 
    

    take care with the "/" at the end

    More info in http://wiki.netbeans.org/FaqRunningOnJre

提交回复
热议问题