Skip to content

fix Could not initialize class sun.awt.X11.XToolkit error#53

Merged
StephanPreibisch merged 1 commit intoJaneliaSciComp:mainfrom
abast:main
Nov 8, 2025
Merged

fix Could not initialize class sun.awt.X11.XToolkit error#53
StephanPreibisch merged 1 commit intoJaneliaSciComp:mainfrom
abast:main

Conversation

@abast
Copy link

@abast abast commented Oct 23, 2025

When the DISPLAY environment variable is present in headless environments, AWT may attempt to initialize X11 and fail with Could not initialize class sun.awt.X11.XToolkit error. This change disables the component that connects to an X display.

Developed with @StephanPreibisch

@StephanPreibisch StephanPreibisch merged commit 185945c into JaneliaSciComp:main Nov 8, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants