1 |
On 10 June 2011 20:45, Yohan Pereira <yohan.pereira@×××××.com> wrote: |
2 |
> On Friday 10 Jun 2011 20:05:16 András Csányi wrote: |
3 |
> |
4 |
>> how can I change to user-vm a system-vm when I have only one |
5 |
> |
6 |
>> installed java-vm which is set up as system-vm? |
7 |
> |
8 |
> the system-vm and the user-vm can be the same. |
9 |
> |
10 |
> So in this case just set the user-vm to sun-jdk-1.6.0.26 by running |
11 |
> |
12 |
> eselect java-vm set user 1 |
13 |
> |
14 |
> assuming you have only one vm as you say. |
15 |
|
16 |
Unfortunately not can be user and system vm the same according to |
17 |
output of eselect commands below. |
18 |
|
19 |
sa-home sayusi # eselect java-vm list |
20 |
Available Java Virtual Machines: |
21 |
[1] sun-jdk-1.6 system-vm |
22 |
|
23 |
sa-home sayusi # eselect java-vm set user 1 |
24 |
!!! Error: Sorry, you cannot set a user vm as root. Set the system vm instead |
25 |
exiting |
26 |
sa-home sayusi # |
27 |
|
28 |
|
29 |
|
30 |
-- |
31 |
- - |
32 |
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu -- |
33 |
http://facebook.com/andras.csanyi |
34 |
-- ""Trust in God and keep your gunpowder dry!" - Cromwell |