Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656570

Summary: dev-java/oracle-jdk-bin-9.0.4-r2 is unusable
Product: Gentoo Linux Reporter: Philipp Psurek <philipp.psurek+gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: java
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Philipp Psurek 2018-05-26 09:11:51 UTC
# emerge -qvp oracle-jdk-bin
[ebuild   Rf  ] dev-java/oracle-jdk-bin-9.0.4-r2  USE="alsa fontconfig gtk3 javafx -commercial -cups -doc (-gentoo-vm) -gtk2 -headless-awt -nsplugin (-selinux) -source" 

# java
* Home for VM '' does not exist: 
* Invalid System VM: 

# javac
* Home for VM '' does not exist: 
* Invalid System VM: 

$ java
* 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

$ javac
* 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

# eselect java-vm list
Available Java Virtual Machines:
  (none found)

$ eselect java-vm list
Available Java Virtual Machines:
  (none found)

# java-config -L
The following VMs are available for generation-2:

# eselect version
eselect 1.4.12

# java-config -V
Java Configuration Utility Version 2.2.0

The only solution right now is to manually change the symlinks of eselect-java. I am very thankful for any other suggestion to return to the pre-9 state.
Comment 1 James Le Cuirot gentoo-dev 2018-05-26 09:32:46 UTC

*** This bug has been marked as a duplicate of bug 641690 ***