Skip to content

The JVM shared library "/System/Library/ Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol. #103

@AlexanderWillner

Description

@AlexanderWillner

Version: de.persosim.rcp.product-1.1.0-20241212-macosx.cocoa.aarch64 on macOS 15.5 (24F74) arm64

Steps that will reproduce the problem:

% echo $JAVA_HOME                         
/Library/Java/JavaVirtualMachines/liberica-jdk-21-full.jdk/Contents/Home
% ./PersoSim.app/Contents/MacOS/PersoSim

What is the expected result:

Running app.

What happens instead:

Window with the message The JVM shared library "/System/Library/ Frameworks/JavaVM.framework" does not contain the JNI_CreateJavaVM symbol.

Possible workaround:

Maybe use version 1.0.1 on JRE 11 - Issue #99 states it worked with that version. However this also did not work:

% export JAVA_HOME=$(/usr/libexec/java_home -v 11)
% $JAVA_HOME/bin/java -version                                           
openjdk version "11.0.27" 2025-04-15
OpenJDK Runtime Environment Temurin-11.0.27+6 (build 11.0.27+6)
OpenJDK 64-Bit Server VM Temurin-11.0.27+6 (build 11.0.27+6, mixed mode)

Any additional information:

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions