run %JAVA_BIN% --module-path %JAVA_FX_DIR% --add-modules ALL-MODULE-PATH -jar mcaselector-2.2.2.jar (where %JAVA_BIN% is path to your java instalation and %JAVA_FX_DIR% path where you unziped java fx)
See error
Expected behavior
I expected mcaselector would open and run without errors
actual behavoir
I get a error message on console, mca selector does not start.
>mcaselector-2.2.2.bat
Error occurred during initialization of boot layer
java.lang.module.FindException: Module jdk.unsupported.desktop not found, required by javafx.swing
Environment (please complete the following information):
OS: Windows 10
Java version: openjdk 17.0.7 2023-04-18
Version of MCA Selector: 2.2.2
Additional context
This is my start.bat for mcaselector
@echo off
set JAVA_BIN=G:\Games\Minecraft\runtime\jre-x64\bin\java
:: see INFO at https://github.com/Querz/mcaselector/wiki/Installation#when-you-receive-an-error-from-a-previously-installed-version-of-java
::set JAVA_FX_DIR=G:\Programme\javafx\javafx-sdk-17.0.7\
set JAVA_FX_DIR=G:\Programme\javafx\javafx-sdk-17.0.7\lib
%JAVA_BIN% --module-path %JAVA_FX_DIR% --add-modules ALL-MODULE-PATH -jar mcaselector-2.2.2.jar
Describe the bug I tried to run mcaselector v2.2.2 and tried to fix "Missing JavaFX"-Error like explained in instalation.
But it throws Module jdk.unsupported.desktop not found - error and is not starting successful.
To Reproduce Steps to reproduce the behavior:
%JAVA_BIN% --module-path %JAVA_FX_DIR% --add-modules ALL-MODULE-PATH -jar mcaselector-2.2.2.jar
(where %JAVA_BIN% is path to your java instalation and %JAVA_FX_DIR% path where you unziped java fx)Expected behavior I expected mcaselector would open and run without errors
actual behavoir I get a error message on console, mca selector does not start.
Environment (please complete the following information):
Additional context This is my start.bat for mcaselector