-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Using OpenJDK 8 from Eclipse Temurin, JRE failed to initialize JamVM:
$ bin/java -XXaltjvm=jamvm -version
Exception occurred while VM initialising.
java/lang/NoClassDefFoundError: java/lang/ClassLoader
Known reasons:
- Different JRE layout: JRE for GNU/Linux has explicit architecture directory, such as
jre/lib/amd64, but JRE for macOS has dynamic libraries in directoryjre/lib. - Different
java_homeinformation: It indicates to JRE directory on GNU/Linux, butContents/Homeis specified on macOS.
Test environment
- macOS Catalina 10.15.7, x86-64
- OpenJDK 8.0.352
$ bin/java -version
openjdk version "1.8.0_352"
OpenJDK Runtime Environment (Temurin)(build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (Temurin)(build 25.352-b08, mixed mode)
Metadata
Metadata
Assignees
Labels
No labels