From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QV7z0-0007Iz-Hb for garchives@archives.gentoo.org; Fri, 10 Jun 2011 20:07:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B80E61C0EC for ; Fri, 10 Jun 2011 20:07:05 +0000 (UTC) Received: from mail-ww0-f41.google.com (mail-ww0-f41.google.com [74.125.82.41]) by pigeon.gentoo.org (Postfix) with ESMTP id 6D2301C07E for ; Fri, 10 Jun 2011 19:30:32 +0000 (UTC) Received: by wwi18 with SMTP id 18so1073047wwi.4 for ; Fri, 10 Jun 2011 12:30:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:subject:date:user-agent:references :in-reply-to:mime-version:content-type:content-transfer-encoding :message-id; bh=vkB0dnMqzosLzYTobb731xwK9OY6elTsAv3Enjtb8F4=; b=LEars3ujhVtmVVO1qHtxeCgVuUlxH34c8mAHR13bPsZvwvObYz48cTqughbki5gxEm r8gIdXjdja4+2aTsIy0dAmBPdU4mVLpFbm7QW1dqSDIBDAxOQGfZToFPLXbVD4+LfqSK gMb6O3kISeHocCdVkBimw+sPJm/+QtlMze60A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:mime-version :content-type:content-transfer-encoding:message-id; b=kMpT9jcaxlUEMEkrj9GK8MHnJdeHyEojF7NjHhuJhN86j1Uts+1QACOXJeAL1qe7Ih HbsCoQ6FeB4qZ7eNoiYp0LqU/Mec/k+WZ9Otq1r5Il0Uv0sBPxerkwx319xlun4WYrZF lJrPNYmI9ZfNPM1j55EuIIAnRDLOoU+A4kR9Q= Received: by 10.216.58.134 with SMTP id q6mr2543558wec.7.1307734231375; Fri, 10 Jun 2011 12:30:31 -0700 (PDT) Received: from nazgul.localnet (196-210-183-215.dynamic.isadsl.co.za [196.210.183.215]) by mx.google.com with ESMTPS id k70sm1577237weq.30.2011.06.10.12.30.29 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 10 Jun 2011 12:30:30 -0700 (PDT) From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] java eselect Date: Fri, 10 Jun 2011 21:29:47 +0200 User-Agent: KMail/1.13.7 (Linux/2.6.39-ck; KDE/4.6.3; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Message-Id: <201106102129.48200.alan.mckinnon@gmail.com> Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: dc7faaa1951c4bc5b92cde7e5a133c1a Apparently, though unproven, at 21:03 on Friday 10 June 2011, Andr=C3=A1s= Cs=C3=A1nyi=20 did opine thusly: > On 10 June 2011 20:41, Paul Hartman wro= te: > > On Fri, Jun 10, 2011 at 1:05 PM, Andr=C3=A1s Cs=C3=A1nyi =20 wrote: > >> Hi All, > >>=20 > >> I would like to use netbeans to programming in java language. I can'= t > >> start netbeans because "Cannot find java...". I thought, no problem > >> because here is the fantastic eselect tool and I'm going to set up t= he > >> java environment on my machine. But, I made a mistake. On my machine > >> only sun-jdk-1.6.0.26 is installed and I set up this to system-vm. B= y > >> the way, the system-vm is not accessible for user, only for root. On > >> one hand, after this I tried to delete or disable the system-vm but = I > >> didn't find any option for this in eselect. On the other hand, to us= e > >> the same java-vm as system-vm and as user-vm is not possible because > >> the eselect not able to do this setup. > >>=20 > >> Here is my question: > >> - how can I change to user-vm a system-vm when I have only one > >> installed java-vm which is set up as system-vm? > >>=20 > >> Thanks for any help in advance! > >=20 > > Maybe use java-config instead of eselect. Something like "java-config= -s > > 1" >=20 > java-config is not appropriate. >=20 > sa-home sayusi # java-config-2 -L > The following VMs are available for generation-2: > *) Sun JDK 1.6.0.26 [sun-jdk-1.6] >=20 > sa-home sayusi # java-config-2 -s sun-jdk-1.6 > !!! ERROR: The user 'root' should always use the System VM >=20 > sa-home sayusi # java-config -s sun-jdk-1.6 > !!! ERROR: The user 'root' should always use the System VM > sa-home sayusi # That is incorrect. java-config is quite appropriate. Using it to try and set a user vm for r= oot=20 is not, as the output clearly shows. --=20 alan dot mckinnon at gmail dot com