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 <gentoo-user+bounces-124108-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1QV77b-0007lb-Jz
	for garchives@archives.gentoo.org; Fri, 10 Jun 2011 19:11:55 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 372961C051
	for <garchives@archives.gentoo.org>; Fri, 10 Jun 2011 19:11:55 +0000 (UTC)
Received: from mail-pw0-f53.google.com (mail-pw0-f53.google.com [209.85.160.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 790821C082
	for <gentoo-user@lists.gentoo.org>; Fri, 10 Jun 2011 18:58:29 +0000 (UTC)
Received: by pwj5 with SMTP id 5so1595297pwj.40
        for <gentoo-user@lists.gentoo.org>; Fri, 10 Jun 2011 11:58:28 -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=Ue20zntT/pR91D6w2MU6w/MEAGZk6cF78i45A6iskyo=;
        b=PZDLyCRdJi/+Y9lP9/WJC8dnhE806rXHWAqNicAdHidHXaTixFy2A2uRpL4yB6XwRG
         KY+FtITijxqxiQk5dbY9toqZD4cmdZg6LeDyrtqjNVGt49lRzoMNm7/1jd1l7dPsmVNu
         OOjlGwaCxbkHtXjIg4uu8bHQgo8YHYL+xR+Qc=
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=u8kmgZpcQuO/dKBoiKTonT6lzDHYR04zOb6erkCGrP+HEwmzfBFXRdtYz/r0KH5Go+
         OwelJsongFe/Cdi5zVR8SpMsCD7TrApWpCtuacKvt+f1ZIF12MEDzdB2kpNIwnhRxL62
         FsoIHSqo4W2Z9z9bMiQmVbpLUgTWigFOEpZV4=
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.68.34.72 with SMTP id x8mr1071033pbi.312.1307732308507; Fri,
 10 Jun 2011 11:58:28 -0700 (PDT)
Received: by 10.68.46.37 with HTTP; Fri, 10 Jun 2011 11:58:28 -0700 (PDT)
In-Reply-To: <3157411.qf5j4QfB3B@powerslave>
References: <BANLkTind0HsMy=KJnn9V3xwC1oHYoeZRZg@mail.gmail.com>
	<3157411.qf5j4QfB3B@powerslave>
Date: Fri, 10 Jun 2011 20:58:28 +0200
Message-ID: <BANLkTi=27gq5iEDQcb7VjC_ADxHY_uLBeg@mail.gmail.com>
Subject: Re: [gentoo-user] java eselect
From: =?UTF-8?B?QW5kcsOhcyBDc8Ohbnlp?= <sayusi.ando@gmail.com>
To: gentoo-user@lists.gentoo.org
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Archives-Salt: 
X-Archives-Hash: 4bb6f6eb51d2027f546dca0d3fc170c5

On 10 June 2011 20:45, Yohan Pereira <yohan.pereira@gmail.com> wrote:
> On Friday 10 Jun 2011 20:05:16 Andr=C3=A1s Cs=C3=A1nyi wrote:
>
>> 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?
>
> the system-vm and the user-vm can be the same.
>
> So in this case just set the user-vm to sun-jdk-1.6.0.26 by running
>
> eselect java-vm set user 1
>
> assuming you have only one vm as you say.

Unfortunately not can be user and system vm the same according to
output of eselect commands below.

sa-home sayusi # eselect java-vm list
Available Java Virtual Machines:
  [1]   sun-jdk-1.6  system-vm

sa-home sayusi # eselect java-vm set user 1
!!! Error: Sorry, you cannot set a user vm as root. Set the system vm inste=
ad
exiting
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