Skip to content

Failed to create JVM with requested environment #340

Description

@LJMedPhys

while running pyimagej I get this error:

_ij_instance = imagej.init(FIJI_JAVA_HOME, mode='interactive')
imagentj-1 | File "/opt/conda/envs/local_imag_J/lib/python3.13/site-packages/imagej/init.py", line 1254, in init
imagentj-1 | raise RuntimeError("Failed to create a JVM with the requested environment.")

my AI agent told me this:

A fresh container tries to fetch net.imglib2:imglib2-imglyb:1.1.0
pyimagej/scyjava only looks at https://maven.scijava.org/content/groups/public
that request times out
then imagej.init(...) turns it into the generic RuntimeError: Failed to create a JVM with the requested environment.

maven still seems to be down, do you know how to fix this without relying on maven? The site has been up/down repeatetly during the past days

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions