Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] eselect java-vm doesn't work "Error: Target '1'"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Hund
Apprentice
Apprentice


Joined: 18 Jul 2016
Posts: 218
Location: Sweden

PostPosted: Sun Feb 06, 2022 3:12 pm    Post subject: eselect java-vm doesn't work "Error: Target '1'" Reply with quote

What's wrong here?

Code:
# eselect java-vm list         
Available Java Virtual Machines:
  [1]   openjdk-jre-bin-11

# eselect java-vm set system 1
!!! Error: Target "1" doesn't appear to be valid!
exiting

_________________
Collect memories, not things.


Last edited by Hund on Mon Feb 07, 2022 6:43 pm; edited 2 times in total
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Sun Feb 06, 2022 5:29 pm    Post subject: Reply with quote

You can post ls -l /usr/lib/jvm output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hund
Apprentice
Apprentice


Joined: 18 Jul 2016
Posts: 218
Location: Sweden

PostPosted: Mon Feb 07, 2022 6:42 pm    Post subject: Reply with quote

I was able to solve it by disabling the USE-flag `gentoo-vm` for `dev-java/openjdk-jre-bin`. :)
_________________
Collect memories, not things.
Back to top
View user's profile Send private message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 285
Location: Calgary, Alberta

PostPosted: Sun Apr 24, 2022 9:03 pm    Post subject: Does eselect work with this work-around? Reply with quote

Can you still use eselect if you set USE='-gentoo-vm'?

See also this bug.
Back to top
View user's profile Send private message
Hund
Apprentice
Apprentice


Joined: 18 Jul 2016
Posts: 218
Location: Sweden

PostPosted: Thu May 12, 2022 7:38 am    Post subject: Re: Does eselect work with this work-around? Reply with quote

penetrode wrote:
Can you still use eselect if you set USE='-gentoo-vm'?

See also this bug.


I can't seem to enable that flag now.
_________________
Collect memories, not things.
Back to top
View user's profile Send private message
penetrode
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 285
Location: Calgary, Alberta

PostPosted: Thu May 12, 2022 7:54 am    Post subject: Re: Does eselect work with this work-around? Reply with quote

Hund wrote:
penetrode wrote:
Can you still use eselect if you set USE='-gentoo-vm'?

See also this bug.


I can't seem to enable that flag now.


The bug has been fixed and the problem should be solved now.
Back to top
View user's profile Send private message
Hund
Apprentice
Apprentice


Joined: 18 Jul 2016
Posts: 218
Location: Sweden

PostPosted: Fri May 13, 2022 8:00 pm    Post subject: Re: Does eselect work with this work-around? Reply with quote

penetrode wrote:
Hund wrote:
penetrode wrote:
Can you still use eselect if you set USE='-gentoo-vm'?

See also this bug.


I can't seem to enable that flag now.


The bug has been fixed and the problem should be solved now.


That's weird. It doesn't work for me. It doesn't really matter anyway, I can just manually point PolyMC to the binary anyway.
_________________
Collect memories, not things.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum