I have an electron app that is successfully using node-java. Certain actions result in calls to java that cause java to load java.awt.Color lazily, that is, well after other classes have been loaded. These calls hang and it seems the java classloader is hanging trying to load this class. This class is used for computation and not display. Using
java.options.push('-Djava.awt.headless=true')
,or not, has no effect.
Environment is Mac 10.15.3,
electron 3.1.13
java: jre-8u241-macosx-x64
Any ideas of things to try?