Gentoo Archives: gentoo-user

From: Paul Hartman <paul.hartman+gentoo@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] java eselect
Date: Fri, 10 Jun 2011 19:04:57
Message-Id: BANLkTimESziaQoDP2fqk0q1KH8Nwu_5-Uw@mail.gmail.com
1 On Fri, Jun 10, 2011 at 1:05 PM, András Csányi <sayusi.ando@×××××.com> wrote:
2 > Hi All,
3 >
4 > I would like to use netbeans to programming in java language. I can't
5 > start netbeans because "Cannot find java...". I thought, no problem
6 > because here is the fantastic eselect tool and I'm going to set up the
7 > java environment on my machine. But, I made a mistake. On my machine
8 > only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. By
9 > the way, the system-vm is not accessible for user, only for root. On
10 > one hand, after this I tried to delete or disable the system-vm but I
11 > didn't find any option for this in eselect. On the other hand, to use
12 > the same java-vm as system-vm and as user-vm is not possible because
13 > the eselect not able to do this setup.
14 >
15 > Here is my question:
16 > - how can I change to user-vm a system-vm when I have only one
17 > installed java-vm which is set up as system-vm?
18 >
19 > Thanks for any help in advance!
20
21 Maybe use java-config instead of eselect. Something like "java-config -s 1"

Replies

Subject Author
Re: [gentoo-user] java eselect "András Csányi" <sayusi.ando@×××××.com>