Cannot find java. Please use the --jdkhome switch

后端 未结 10 1623
生来不讨喜
生来不讨喜 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:03

    Check the setting in your user config /home/username/.netbeans/version/etc/netbeans.conf

    I had the problem where I was specifying the location globally, but my user setting was overriding the global setting.

    CentOS 7/Netbeans 8.1

提交回复
热议问题