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 1QV7Al-0008Io-0j for garchives@archives.gentoo.org; Fri, 10 Jun 2011 19:15:11 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3022B1C08B for ; Fri, 10 Jun 2011 19:15:09 +0000 (UTC) Received: from mail-pz0-f53.google.com (mail-pz0-f53.google.com [209.85.210.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 48B821C082 for ; Fri, 10 Jun 2011 19:03:10 +0000 (UTC) Received: by pzk6 with SMTP id 6so1593376pzk.40 for ; Fri, 10 Jun 2011 12:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=+S99neR6u4qzliu6v+Qah1WGiuGOJwhEU22DXboBRmM=; b=JpyEpHA9ZTaVqjIg+6uPwLN8JbKfLtX+N+wpLpX4XxbRjtc3OBbDZKnvw1uBVgJZYR 0DwcaYpFKxnpSk0g702S0Coj6zh+c1SFHDI3kjPOhTKDuTrae9QMo2OwWlyIX8X6VmG8 yNbjCVJ27ReOIQWWmXSFGSTRdVVYxfLPWeEuY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=cD0hQTXSlIjIOvjGhvHkeibQU/QXk4Gxh88/31bWp7S/UE+4umQXVOVb6D/IX9WrAg Js4efbD+rLiGjbEy6DxmU/2xh+Msp8UamxAUsrcdPDau+QakLTEDzOItMtMTMyHaTd6A sgOHkEIqgnWhbfY30RW2wyWg7gpo7w1fraUXU= 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 Received: by 10.68.12.226 with SMTP id b2mr1251193pbc.44.1307732589519; Fri, 10 Jun 2011 12:03:09 -0700 (PDT) Received: by 10.68.46.37 with HTTP; Fri, 10 Jun 2011 12:03:09 -0700 (PDT) In-Reply-To: References: Date: Fri, 10 Jun 2011 21:03:09 +0200 Message-ID: Subject: Re: [gentoo-user] java eselect From: =?UTF-8?B?QW5kcsOhcyBDc8Ohbnlp?= To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: f6ab45a0e4ca0e2423d4a47162abf33b On 10 June 2011 20:41, Paul Hartman wrote: > On Fri, Jun 10, 2011 at 1:05 PM, Andr=C3=A1s Cs=C3=A1nyi wrote: >> Hi All, >> >> 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 the >> 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. By >> 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 use >> the same java-vm as system-vm and as user-vm is not possible because >> the eselect not able to do this setup. >> >> 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? >> >> Thanks for any help in advance! > > Maybe use java-config instead of eselect. Something like "java-config -s = 1" java-config is not appropriate. 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] sa-home sayusi # java-config-2 -s sun-jdk-1.6 !!! ERROR: The user 'root' should always use the System VM sa-home sayusi # java-config -s sun-jdk-1.6 !!! ERROR: The user 'root' should always use the System VM sa-home sayusi # --=20 - - --=C2=A0 Csanyi Andras (Sayusi Ando)=C2=A0 -- http://sayusi.hu -- http://facebook.com/andras.csanyi --=C2=A0 ""Trust in God and keep your gunpowder dry!" - Cromwell