Unable to load native library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libjava.so: undefined symbol: JVM_InitializeFromArchive, version SUNWprivate_1.1

Bug #1890482 reported by Martin Vysny
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openjdk-11-jre-dcevm (Debian)
Fix Released
Unknown
openjdk-11-jre-dcevm (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hi, thank you so much for maintaining ubuntu and making it better for everyone :)

The dcevm mode of java 11 doesn't work. Could you please look into it?

Steps to reproduce:
1. sudo apt install openjdk-11-jre-dcevm
2. java -dcevm

Unable to load native library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libjava.so: undefined symbol: JVM_InitializeFromArchive, version SUNWprivate_1.1

Expected outcome: java should start properly

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: openjdk-11-jre-dcevm 11.0.3+1-1
ProcVersionSignature: Ubuntu 5.4.0-42.46-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.6
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: ubuntu:GNOME
Date: Wed Aug 5 21:39:16 2020
InstallationDate: Installed on 2015-11-19 (1721 days ago)
InstallationMedia: Ubuntu-Server 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: openjdk-11-jre-dcevm
UpgradeStatus: Upgraded to focal on 2020-04-11 (116 days ago)

Revision history for this message
Martin Vysny (vyzivus) wrote :
Revision history for this message
Kai Kasurinen (kai-kasurinen) wrote :

Fixed in version openjdk-11-jre-dcevm/11.0.7+1-1

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu.

Changed in openjdk-11-jre-dcevm (Ubuntu):
status: New → Fix Released
Changed in openjdk-11-jre-dcevm (Debian):
status: Unknown → Fix Released
Revision history for this message
Martin Vysny (vyzivus) wrote :

Unfortunately, the issue persists even with openjdk-11-jre-dcevm:11.0.7+1-1:

$ dpkg -s openjdk-11-jre-dcevm
Package: openjdk-11-jre-dcevm
Status: install ok installed
Priority: optional
Section: java
Installed-Size: 17989
Maintainer: Ubuntu Developers <email address hidden>
Architecture: amd64
Multi-Arch: same
Version: 11.0.7+1-1

$ java -dcevm
Error occurred during initialization of VM
Unable to load native library: /usr/lib/jvm/java-11-openjdk-amd64/lib/libjava.so: undefined symbol: JVM_IsUseContainerSupport, version SUNWprivate_1.1

I have openjdk-11-jre:11.0.9.1+1-0ubuntu1~20.10

Should I open a new bug report, or reopen the current one please?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.