diff --git a/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java b/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java index 34f40bd1..e91ef365 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java +++ b/Launcher/src/main/java/pro/gravit/launcher/gui/JSRuntimeProvider.java @@ -141,6 +141,7 @@ public static void addLauncherClassBindings(Map bindings) { } catch (ClassNotFoundException ignored) { LogHelper.warning("JavaFX API isn't available"); LauncherEngine.noJavaFxAlert(); + System.exit(0); } }