Open leif81 opened 6 years ago
Btw the /min
fix was discovered by @seanidzenga :+1:
The problematic line seems to be
But from the surrounding context it looks like the intent was to run the process in the background. Not sure how to proceed on this one.
It was set to run in background since swing application blocks the shell. Maybe this behavior is no longer with java8?
Ya it must have changed. I tried the same workaround (removing /min
) with a Swing app in Java 8 and it worked as expected.
A side effect of using the
showConsoleWindow
option set tofalse
is that it causes JavaFx application windows to start minimized. To me this is unexpected.The problem seems to be the
/min
part of the lineJAVACMD=start /min javaw
. When/min
is removed it behaves as expected for both JavaFx and Swing (tested in Java 8u161).Workaround
In my
environmentSetupFileName
script, I putset JAVACMD=start javaw
.