Results 1 to 6 of 6

Thread: netbeans on 12.1 KDE

  1. #1

    Default netbeans on 12.1 KDE

    Alright, im kinda a linux noob. been running 11/4 gnome for a few months and was able to run the linux script from orical to get netbeans to install and run just fine. switched to 12.1 KDE to try my hand at that ui and found that the same script dose not run. it appears that dosent wat to open a GUI that it calls for. i also tried installing from YaST with no luck. yast says it is sucssfuly installed but i cant run it. this is what the script returns
    .
    Code:
    justin@linux-qjb8:~/Downloads> sudo sh jdk-6u29-nb-7_0_1-linux-ml.sh 
    root's password:
    Configuring the installer...
    Searching for JVM on the system...
    Preparing bundled JVM ...
    Extracting installation data...
    Running the installer wizard...
    Can`t initialize UI
    Running in headless mode
    No X11 DISPLAY variable was set, but this program performed an operation which requires it.
    any ideas, am i missing something obvious?

  2. #2
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: netbeans on 12.1 KDE

    Am 17.11.2011 01:36, schrieb jvlog:
    > justin@linux-qjb8:~/Downloads> sudo sh jdk-6u29-nb-7_0_1-linux-ml.sh

    Do not use sudo for this if you need a gui for the installer.
    Instead use
    Code:
    su -
    cd /the/path/where/the/installer/is
    sh jdk-6u29-nb-7_0_1-linux-ml.sh
    The - (minus) after the su is essential here to have a correct
    environment for root which allows execution of a gui.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

  3. #3

    Default Re: netbeans on 12.1 KDE

    thanks for the help, strangely it only has the last bit about the gui after using sudo
    when ever i use ./ in bash or the sh shell ether as my user or the super user it ends after "running the installer wizard" but without the gui portion that it typical tries to open when running this script never opening and the software never installing

  4. #4

    Default Re: netbeans on 12.1 KDE

    using kdesu not sudo

  5. #5

    Default Re: netbeans on 12.1 KDE

    Quote Originally Posted by sofyandean View Post
    using kdesu not sudo
    CMIIW,
    I just understand, kdesu = su and "su-" like sudo

  6. #6
    Join Date
    Feb 2010
    Location
    Germany
    Posts
    4,654

    Default Re: netbeans on 12.1 KDE

    Am 19.11.2011 09:26, schrieb sofyandean:
    >
    > sofyandean;2406022 Wrote:
    >> using kdesu not sudo

    >
    > CMIIW,
    > I just understand, kdesu = su and "su-" like sudo
    >
    >

    Nope, kdesu and "su -" are equivalent with only one difference, "su -"
    will ask you for the root password on the command line while kdesu opens
    a graphical password dialog to enter the root password. None of both is
    equivalent to sudo.

    --
    PC: oS 11.4 (dual boot 12.1) 64 bit | Intel Core i7-2600@3.40GHz | KDE
    4.6.0 | GeForce GT 420 | 16GB Ram
    Eee PC 1201n: oS 11.4 64 bit | Intel Atom 330@1.60GHz | KDE 4.7.3 |
    nVidia ION | 3GB Ram

Posting Permissions

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