Results 1 to 5 of 5

Thread: Netbean + JDK + modules

  1. #1

    Default Netbean + JDK + modules

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: Netbean + JDK + modules

    Quote Originally Posted by stanc View Post
    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.



    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


    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.
    But this: java-1_6_0-sun-devel is missing.

    ps.: wipe out those openjdk things, just a waste of space you'll never use it - it can be confusing sometimes...
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  3. #3

    Default Re: Netbean + JDK + modules

    Thank you ram88!

    I installed java-1_6_0-sun-devel and all the modules loaded up fine

    I am using /usr/lib64/jvm/java-1.6.0-sun-1.6.0/ path for my netbeans_jdkhome

    [s]Just one more thing though, I installed netbeans-extra for the NetBeans UML support but it doesn't seem to be in the project list. Is there a way of adding that module in?[/s]
    I just added it from the plugins list.
    Last edited by stanc; 27-Sep-2009 at 08:18. Reason: UML

  4. #4
    Join Date
    Jun 2008
    Location
    relative
    Posts
    1,172

    Default Re: Netbean + JDK + modules

    Good to hear that it's worked! Happy coding!
    http://mydailyhash.wordpress.com/
    http://yami.googlecode.com/

  5. #5

    Default Re: Netbean + JDK + modules

    Thanks! It worked!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •