Results 1 to 10 of 10

Thread: [SOLVED] NetBeans / JPDA Debugger API module

  1. #1
    Join Date
    Mar 2008
    Location
    Europe
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Question [SOLVED] NetBeans / JPDA Debugger API module

    Hi, I have a problem with NetBeans 6 on Hardy Heron.

    after install i get the message:

    Warning - could not install module JPDA Debugger API
    JPDA Debugger API - This module requires JDKHOME/lib/tools.jar to be accessible.
    This file was not found. Usually this means you are trying to run the IDE with the JRE instead of the full JDK.
    If so, please use the --jdkhome command line option to specify a JDK installation.

    I found a possible solution: http://ubuntuforums.org/showthread.php?t=688392 BUT: It seems like this solution only fixes or better, surpresses the error message.

    I`m curious,...as i have newer versions of Ubuntu and NetBeans, can`t I somehow load the missing JDKHOME/lib/tools.jar? And if yes, how?

    Any ideas or newer solutions to that problem?
    any help is highly appreciated!
    Regards - Jab

    NetBeans Log:

    >Log Session: Friday, June 20, 2008 12:50:37 PM CEST
    >System Info:
    Product Version = NetBeans IDE 6.0.1 (Build 080320)
    Operating System = Linux version 2.6.24-16-generic running on amd64
    Java; VM; Vendor = 1.6.0_06; Java HotSpot(TM) 64-Bit Server VM 10.0-b22; Sun Microsystems Inc.
    Java Home = /usr/lib/jvm/java-6-sun-1.6.0.06/jre
    System Locale; Encoding = en_US (nb); UTF-8
    Home Directory = /home/myusername
    Current Directory = /home/myusername
    User Directory = /home/myusername/.netbeans/6.0
    Installation = /usr/share/netbeans/6.0.1/nb6.0
    /usr/share/netbeans/6.0.1/ide8
    /usr/share/netbeans/6.0.1/java1
    /usr/share/netbeans/6.0.1/apisupport1
    /usr/share/netbeans/6.0.1/harness
    /usr/share/netbeans/6.0.1/platform7
    Boot & Ext. Classpath = /usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/resources.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/rt.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/jsse.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/jce.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/charsets.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/classes:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/ext/sunpkcs11.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/ext/localedata.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/ext/dnsns.jar:/usr/lib/jvm/java-6-sun-1.6.0.06/jre/lib/ext/sunjce_provider.jar
    Application Classpath = /usr/share/netbeans/6.0.1/platform7/lib/boot.jar:/usr/share/netbeans/6.0.1/platform7/lib/org-openide-modules.jar:/usr/share/netbeans/6.0.1/platform7/lib/org-openide-util.jar
    Startup Classpath = /usr/share/netbeans/6.0.1/platform7/core/core.jar:/usr/share/netbeans/6.0.1/platform7/core/org-openide-filesystems.jar:/usr/share/netbeans/6.0.1/nb6.0/core/org-netbeans-upgrader.jar:/usr/share/netbeans/6.0.1/nb6.0/core/locale/core_nb.jar
    -------------------------------------------------------------------------------
    WARNING [org.netbeans.core.startup.ModuleList]
    org.netbeans.InvalidException: StandardModulerg.netbeans.api.debugger.jpda jarFile: /usr/share/netbeans/6.0.1/java1/modules/org-netbeans-api-debugger-jpda.jar: Dependency failed on package com.sun.jdi[VirtualMachineManager]
    [catch] at org.netbeans.ModuleManager.enable(Unknown Source)
    at org.netbeans.core.startup.ModuleList.installNew(Un known Source)
    at org.netbeans.core.startup.ModuleList.trigger(Unkno wn Source)
    at org.netbeans.core.startup.ModuleSystem.restore(Unk nown Source)
    at org.netbeans.core.startup.Main.getModuleSystem(Unk nown Source)
    at org.netbeans.core.startup.Main.start(Unknown Source)
    at org.netbeans.core.startup.TopThreadGroup.run(Unkno wn Source)
    at java.lang.Thread.run(Thread.java:619)
    Warning - could not install module JPDA Debugger API
    JPDA Debugger API - This module requires JDKHOME/lib/tools.jar to be accessible.
    This file was not found. Usually this means you are trying to run the IDE with the JRE instead of the full JDK.
    If so, please use the --jdkhome command line option to specify a JDK installation.
    Last edited by Jabz.biz; June 20th, 2008 at 12:08 PM. Reason: added log

  2. #2
    Join Date
    Feb 2008
    Location
    Slovakia
    Beans
    11

    Re: NetBeans / JPDA Debugger API module

    This worked for me:
    Code:
    sudo aptitude install sun-java6-jdk

  3. #3
    Join Date
    Mar 2008
    Location
    Europe
    Beans
    Hidden!
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: NetBeans / JPDA Debugger API module

    That helped. Thanks a billion.

  4. #4
    Join Date
    Jul 2008
    Beans
    1

    Re: NetBeans / JPDA Debugger API module

    Great post, salutis. I was pulling the hairs out of my nose trying to figure out what I'd done wrong and your tip fixed everything right up! Thanks!

  5. #5
    Join Date
    Aug 2008
    Beans
    5

    Talking Re: [SOLVED] NetBeans / JPDA Debugger API module

    Yeah I second that motion,
    Thanks Guys

  6. #6
    Join Date
    Nov 2007
    Beans
    11
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: [SOLVED] NetBeans / JPDA Debugger API module

    Wow worked for me too, thanks a million. Now i can get back to finishing my college project

  7. #7
    Join Date
    Apr 2008
    Location
    Lima, Peru
    Beans
    32
    Distro
    Ubuntu 11.04 Natty Narwhal

    Smile Re: [SOLVED] NetBeans / JPDA Debugger API module

    Thanks a lot man!!
    emancipate yourself from mental slavery
    Cesar Josue - Seo Copywriter

  8. #8

    Re: [SOLVED] NetBeans / JPDA Debugger API module

    yoo can also use apt-get instead of aptitude. aptitude will install all of the suggested packages by default. Also run apt-get autoremove to get rid of unused packages that will no longer be needed after you install the new java package.

  9. #9
    Join Date
    Oct 2008
    Beans
    25

    Re: NetBeans / JPDA Debugger API module

    Quote Originally Posted by salutis View Post
    This worked for me:
    Code:
    sudo aptitude install sun-java6-jdk
    Thanks

  10. #10
    Join Date
    Jul 2008
    Location
    Saudi Arabia - KFUPM
    Beans
    38
    Distro
    Ubuntu 10.04 Lucid Lynx

    Smile Re: NetBeans / JPDA Debugger API module

    Quote Originally Posted by salutis View Post
    This worked for me:
    Code:
    sudo aptitude install sun-java6-jdk
    This solved the problem
    Thanks Dear!

    -
    Good Luck!

Bookmarks

Posting Permissions

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