imagej / imagej/pyimagej

Try setting JAVA_STARTED_ON_FIRST_THREAD_pid environment variable on macOS

Open
#185 2 comments 1 reaction 1 assignee Claimed by @ctrueden View on GitHub
enhancement macos-gui
Dominant language
Python
Stars
534
Forks
95
PR merge metrics
No merged PRs in 30d

Description

The node-java project, which allows to embed Java and wrap its classes from inside a node.js app, has an analogous problem with AWT on macOS. The relevant issue is joeferner/node-java#21. But there is a [comment](https://github.com/joeferner/node-java/issues/21#issuecomment-373135774) saying you can set an environment variable `JAVA_STARTED_ON_FIRST_THREAD_pid=1` where `pid` is the process ID of the parent process, and then everything magically works. Let's try it!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.