Cannot find java. Please use the --jdkhome switch

后端 未结 10 1603
生来不讨喜
生来不讨喜 2020-12-15 04:43

I have just installed Netbeans 8.0.2 on CentOS 6.5.

When I try to run it, I get the message

Cannot find java. Please use the --jdkhome switch
         


        
10条回答
  •  北海茫月
    2020-12-15 05:11

    With the Netbeans 10, commenting out the netbeans_jdkhome setting in .../etc/netbeans.conf doesn't do the job anymore. It is necessary to specify the right directory depending of 32/64 bitness.

    E.g. for 64 bit application: netbeans_jdkhome="C:\Program Files\AdoptOpenJDK\jdk8u202-b08"

提交回复
热议问题