I am using Opensuse 11.0 and just now installed eclipse and netbeans from the required repositories using zypper…
My system is perfectly working with eclipse but my netbeans is not working …i mean it’s not opening…
Cannot find java. Please use the --jdkhome switch.
Please tell me what to do…
These are the packages in relation to java…
harsha4u@linux-s1b4:~> rpm -qa | grep -i java
waiting for reply…
edit the file netbeans.conf
for this line, specify where is your jdk
You have a number of less than perfect Java implementations on your system. The one you need for netbeans is java-1_6_0-sun-1.6.0.u6-8.1 (should be u7 by now, but there you go). If I were you, I would remove everything except that and java-1_6_0-sun-plugin-1.6.0.u6-8.1. However, you may not be able to.
In any case, specify the kosher sun distribution of java, as pointed out in the previous reply above, in $NB_HOME/etc/netbeans.conf.
netbeans_jdkhome is the installation directory for the JDK.
my i have
rpm -qa | grep -i java
in my netbeans.conf
so you have choice to start set a value there… or like the message you get, to start netbeans with --jdkhome <dir of your jdk>