Results 1 to 5 of 5

Thread: directory for java jdk

  1. #1
    Join Date
    Nov 2006
    Beans
    64

    directory for java jdk

    Hello all so recently i installed ubuntu 11.1 on my toshiba laptop. I was trying to get netbeans running and it said it could not find the correct jdk necessary to run netbeans.

    Now i have openJDK Java 7 Runtime installed, is this what I should have? and if so where would I find the directory of this so I can specify it in the netbeans installer?

  2. #2
    Join Date
    Oct 2011
    Location
    Chicago, IL
    Beans
    419
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: directory for java jdk

    do you have openjdk java 7 jdk installed?

  3. #3
    Join Date
    Nov 2007
    Location
    Surrey, England
    Beans
    259
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: directory for java jdk

    Presuming you have the JDK installed and not just the JRE (11jmb asks you the right question ), in a terminal:

    Code:
    whereis java
    you need the folder with 'bin' in the path. In my system, the location is /usr/bin/java.

    See also https://help.ubuntu.com/community/Java
    Last edited by cavh; October 17th, 2011 at 03:03 PM.
    Friend of eclipse - http://www.eclipse.org/donate/
    Read man pages the easy way - http://manpages.ubuntu.com

  4. #4
    Join Date
    Nov 2006
    Beans
    64

    Re: directory for java jdk

    first of all you are right i did not have the actual jdk installed. the fact that it is called openjdk confused me.
    I installed the jdk and then the installer managed to find the folder so thanks a bunch
    this forum never ceases to let me down!
    Last edited by meteora184; October 17th, 2011 at 05:31 PM.

  5. #5
    Join Date
    Oct 2011
    Location
    Chicago, IL
    Beans
    419
    Distro
    Xubuntu 10.04 Lucid Lynx

    Re: directory for java jdk

    great to hear
    please remember to mark the thread as solved

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
  •