stanc
26-Sep-2009, 18:59
I am using openSUSE 11.1 and netbeans 6.5 from the Education repository.
I'm getting this error whenever I run netbeans.
Quote: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 NetBeans Wiki: FaqRunningOnJre for more information.
I went to the netbeans site and I came across a solution that doesn't seem to work for my installed Java run-times.
/usr/bin/netbeans --jdkhome /usr/lib64/jvm/jre-1.6.0-sun
I tried changing the path to the jdkhome many times but netbeans still does not load properly.
These are the following directories in my /usr/lib/64/jvm
java
java-1.5.0
java-1.5.0-gcj
java-1.5.0-gcj-4.3-1.5.0.0
java-1.6.0-openjdk-1.2_b11
java-1.6.0-openjdk-1.6.0
java-1.6.0-sun-1.6.0
java-gcj
jre
jre-1.5.0
jre-1.5.0-gcj
jre-1.6.0
jre-1.6.0-openjdk
jre-1.6.0-sun
jre-gcj
jre-openjdk
jre-sun
I'm not sure which one I'm supposed to use because I've tried many of them and still I get the same error.
I'm getting this error whenever I run netbeans.
Quote: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 NetBeans Wiki: FaqRunningOnJre for more information.
I went to the netbeans site and I came across a solution that doesn't seem to work for my installed Java run-times.
/usr/bin/netbeans --jdkhome /usr/lib64/jvm/jre-1.6.0-sun
I tried changing the path to the jdkhome many times but netbeans still does not load properly.
These are the following directories in my /usr/lib/64/jvm
java
java-1.5.0
java-1.5.0-gcj
java-1.5.0-gcj-4.3-1.5.0.0
java-1.6.0-openjdk-1.2_b11
java-1.6.0-openjdk-1.6.0
java-1.6.0-sun-1.6.0
java-gcj
jre
jre-1.5.0
jre-1.5.0-gcj
jre-1.6.0
jre-1.6.0-openjdk
jre-1.6.0-sun
jre-gcj
jre-openjdk
jre-sun
I'm not sure which one I'm supposed to use because I've tried many of them and still I get the same error.