Results 1 to 6 of 6

Thread: Need help installing NetBeans

  1. #1
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default Need help installing NetBeans

    Hi everyone. I have suse 11.1 with kde 4.1 and decided to install NetBeans IDE 6.5 the full package not just Java SE, so I downloaded first the jdk package from Java SE Downloads - Sun Developer Network (SDN) and installed it.Afterwards I downloaded the ide installer from http://www.netbeans.org/downloads/index.html, but I got the problem during the installation, because the installer it self didn't recognize the jdk I have previously installed, so I tried to point to it manually. Executing the
    Code:
    rpm -ql java-1_6_0-openjdk
    showed me that the majority of files were put in /usr/lib/jvm/ folder, but I just can't point to the right folder of the jdk, so that the installer of ide could read it. Maybe I should have added the path of jdk installed to my path variable, so that the installer of ide could detect it automaticaly.This is my current root user path
    Code:
    inux-e685:~ # echo $PATH
    /usr/lib/mpi/gcc/openmpi/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin
    . Any help will be higly appreciated.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,109
    Blog Entries
    15

    Default Re: Need help installing NetBeans

    Quote Originally Posted by arcull
    Hi everyone. I have suse 11.1 with kde 4.1 and decided to install
    NetBeans IDE 6.5 the full package not just Java SE, so I downloaded
    first the jdk package from 'Java SE Downloads - Sun Developer Network
    (SDN)' (http://java.sun.com/javase/downloads/index.jsp) and installed
    it.Afterwards I downloaded the ide installer from
    http://www.netbeans.org/downloads/index.html, but I got the problem
    during the installation, because the installer it self didn't recognize
    the jdk I have previously installed, so I tried to point to it manually.
    Executing the
    Code:
    --------------------
    rpm -ql java-1_6_0-openjdk

    --------------------
    showed me that the majority of files were put in /usr/lib/jvm/ folder,
    but I just can't point to the right folder of the jdk, so that the
    installer of ide could read it. Maybe I should have added the path of
    jdk installed to my path variable, so that the installer of ide could
    detect it automaticaly.This is my current root user path
    Code:
    --------------------
    inux-e685:~ # echo $PATH
    /usr/lib/mpi/gcc/openmpi/bin:/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/NX/bin

    --------------------
    Any help will be higly appreciated.
    Hi
    Install the one from the Education repository....

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 2 days 0:33, 2 users, load average: 0.19, 0.19, 0.11
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27


  3. #3
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default Re: Need help installing NetBeans

    Thanks malcolmlewis, can you tell where that is? I did not want to intall it via yast since the version there is a little older, 6.0 I guess, and also don't know if it contains all technologies available, I mean PHP,C++ etc. and not just the pure Java SE. Thanks again.

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,109
    Blog Entries
    15

    Default Re: Need help installing NetBeans

    Quote Originally Posted by arcull
    Thanks malcolmlewis, can you tell where that is? I did not want to
    intall it via yast since the version there is a little older, 6.0 I
    guess, and also don't know if it contains all technologies available, I
    mean PHP,C++ etc. and not just the pure Java SE. Thanks again.
    Hi
    It's version 6.5, via YaST software repositories click the add button
    and select community, then the Education one save and exit. Then use
    the software tool to search on netbeans. Else go here;
    Get It
    and search on netbeans.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 2 days 0:50, 2 users, load average: 0.51, 0.20, 0.12
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.27


  5. #5
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default Re: Need help installing NetBeans

    Thanks for the guidance malcolmlewis, I got it installed successfully, but unfortunatelly it won't run, it says "Cannot find java. Please use the --jdkhome switch.", grrr, I guess I'm again at the begining of this thing. For some reason the correct folder hasn't been added to the PATH variable, so I gues I must adjust that somehow. Any ideas maybe? Thanks

  6. #6
    Join Date
    Sep 2008
    Location
    Slovenia
    Posts
    335

    Default Re: Need help installing NetBeans

    It's working finally. There were two libraries missing: openjdk-src and openjdk-devel, after installing that via yast, everything ok

Posting Permissions

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