Skip to content

ABBA-Python fails to initialize on Windows #50

Backlog

Description

@romario429

Hello,

I'm trying to run abba-python on Windows and followed the installation procedure exactly as described in the documentation. The installation completes, but ABBA fails when initializing the Java environment.

The JVM raises class-loading errors:

java.lang.NoClassDefFoundError: net/imglib2/img/NativeImg
java.lang.NoClassDefFoundError: net/imglib2/cache/img/CellLoader

I understand that ABBA requires Java 21 and that ScyJava should automatically download the required Zulu JRE.

Could this be caused by incompatible or conflicting ImgLib2 dependencies? Is there a recommended fix or a known working configuration for Windows?

Thank you!

Activity

  1. NicoKiaru commented on Dec 4, 2026

    @NicoKiaru
    Member

    Thanks for the report! I can't reproduce it on Windows 11: a fresh pip install abba-python (0.25.0, with jgo 3.3.3, JPype 1.8.1) and an empty cache start ABBA on Java 21 with imglib2 8.0.0, and NativeImg and CellLoader load fine.

    Two classes from two different imglib2 jars both missing usually means the downloaded jars are incomplete (for example, if the first run, which downloads a few hundred MB, was interrupted). Could you try:

    1. Close Python, then delete %USERPROFILE%\.jgo and the net\imglib2 folder in %USERPROFILE%\.m2\repository.
    2. Run again from a fresh terminal (not a notebook kernel that was already running), and let the first download finish.

    If it still fails, could you post:

    • the full output and traceback (not only the two lines);
    • pip list (or pixi list) and your Python version;
    • how you start it (script, Jupyter, Spyder…) and the code you run.
  2. NicoKiaru commented on Dec 4, 2026

    @NicoKiaru
    Member

    as described in the documentation

    Which documentation? Maybe there's a duplicate and I'm not looking at the right place?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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