-
-
Notifications
You must be signed in to change notification settings - Fork 23
Troubleshooting
ShadelessFox edited this page Feb 2, 2025
·
1 revision
- The console window opens and closes immediately.
- When run from the command line, the
Unrecognized option: --add-openserror is displayed.
- Ensure you have Java 17 installed. If you don't, see Installing Java.
- If you have Java 17 installed, but the issue persists, see Setting the Java path.
Install Java from the Adoptium website. If the issue persists, see Setting the Java path.
You may have multiple Java versions installed on your system. In this case, you need to set the correct Java version as the default:
- Press Windows key + R and paste in
sysdm.cpl. From there, go to the "Advanced" tab and click on " Environment Variables". - Under "System variables", find the
Pathvariable and click "Edit". - Find the path to the Java 17 installation directory and move it to the top of the list.
- Click "OK" to save the changes.