Skip to content

JVM issue Mac M2  #108

@delta2golf

Description

@delta2golf

I'm encountering an issue with a Java Virtual Machine (JVM) not running in my Python environment on MacOS. Here are the steps and outputs I've encountered:

When I check my JAVA_HOME variable, it correctly points to my Java installation:
% echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk-21.jdk/Contents/Home

I'm trying to use a Python package paquo, but when I attempt to get the QuPath version using paquo --qupath-version, I encounter a JVMNotRunning error:
Traceback (most recent call last):
...
jpype._core.JVMNotRunning: Java Virtual Machine is not running

My Java version seems to be up to date, as confirmed by:
% java -version
java version "21.0.1" 2023-10-17 LTS
Java(TM) SE Runtime Environment (build 21.0.1+12-LTS-29)
Java HotSpot(TM) 64-Bit Server VM (build 21.0.1+12-LTS-29, mixed mode, sharing)
I have set the JAVA_HOME variable, and my Java installation appears to be correctly configured. However, I'm still facing issues with the JVM when trying to run paquo. I'd appreciate any insights or suggestions on how to resolve this issue.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions