File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
key.ui/src/main/java/de/uka/ilkd/key/gui Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -394,8 +394,11 @@ public static MainWindow getInstance() {
394394 public static MainWindow getInstance (boolean ensureIsVisible ) {
395395 if (GraphicsEnvironment .isHeadless ()) {
396396 LOGGER .error (
397- "Error: KeY started in graphical mode, " + "but no graphical environment present." );
398- LOGGER .error ("Please use the --auto option to start KeY in batch mode." );
397+ "Error: KeY started in graphical mode, but no graphical environment present or supported." );
398+ LOGGER .error (
399+ "If this is unexpected, ensure that you are not using a headless version of Java " +
400+ "(or force windowed mode with java parameter -Djava.awt.headless=false)." );
401+ LOGGER .error ("Otherwise, please use the --auto option to start KeY in batch mode." );
399402 LOGGER .error ("Use the --help option for more command line options." );
400403 System .exit (-1 );
401404 }
You can’t perform that action at this time.
0 commit comments