Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925039 - dev-util/idea-community fails to run
Summary: dev-util/idea-community fails to run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-20 07:01 UTC by James Cloos
Modified: 2024-02-21 14:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Cloos 2024-02-20 07:01:49 UTC
the error is:

* Home for VM 'oracle-jdk-bin-1.8' does not exist: /usr/lib/jvm//oracle-jdk-bin-1.8
* Invalid User VM: oracle-jdk-bin-1.8



I saw it added when doing an eix-sync and thought to see what it was about.

I don't know why it is looking for oracle-jdk-bin-1.8 rather than something gentoo actually offerrs…

I have these installed:

:; /bin/ls /usr/lib/jvm/
openjdk-21  openjdk-bin-17  openjdk-bin-21  openjdk-bin-8  openjdk-jre-bin-8
Comment 1 Mike Pagano gentoo-dev 2024-02-21 11:48:16 UTC
This is from java-eselect.

What's the output of :

eselect java-vm list
Comment 2 Mike Pagano gentoo-dev 2024-02-21 12:00:14 UTC
You may need to set the user-vm

eselect java-vm set user <the one you want>
Comment 3 James Cloos 2024-02-21 12:08:47 UTC
Ah.

Its been so long since I did any java I forgot about the eselect.

The output is:

Available Java Virtual Machines:
  [1]   openjdk-21 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm
  [4]   openjdk-bin-21 
  [5]   openjdk-jre-bin-8 
  [6]   openjdk-jre-bin-21
Comment 4 Mike Pagano gentoo-dev 2024-02-21 12:31:14 UTC
(In reply to James Cloos from comment #3)
> Ah.
> 
> Its been so long since I did any java I forgot about the eselect.
> 
> The output is:
> 
> Available Java Virtual Machines:
>   [1]   openjdk-21 
>   [2]   openjdk-bin-8 
>   [3]   openjdk-bin-17  system-vm
>   [4]   openjdk-bin-21 
>   [5]   openjdk-jre-bin-8 
>   [6]   openjdk-jre-bin-21

Did you try setting a user-vm and then starting idea-community?
Comment 5 James Cloos 2024-02-21 14:39:11 UTC
Just got back from PT.

Yes, setting a user vm worked.

Thanks!