Describe the bug
When installing a portable JRE (version 8) and the portable JAR of the Betacraft launcher to a USB, trying to run the jar with java.exe or javaw.exe shows a console window for a moment before silently crashing with no errors or logs.
To Reproduce
Steps to reproduce the behavior:
- Set up USB with JAR portable launcher and portable JRE (I have tried both JDKPortable and jPortable from PortableApps)
- Set up a batch file as shown below to run the application with the installed JRE
- Run batch file
- Command prompt window opens and immediately closes, no running processes, errors or logs.
Batch file:
@echo off "%~d0\JDK64\bin\java.exe" -jar "%~dp0launcher-1.09_17-portable.jar"
Expected behavior:
Launcher should run and function as intended.
Desktop:
- OS version: Windows 11
- Launcher version: 1.09_17
- Desktop environment: Default Windows
- Processor architecture: x64
Describe the bug
When installing a portable JRE (version 8) and the portable JAR of the Betacraft launcher to a USB, trying to run the jar with java.exe or javaw.exe shows a console window for a moment before silently crashing with no errors or logs.
To Reproduce
Steps to reproduce the behavior:
Batch file:
@echo off "%~d0\JDK64\bin\java.exe" -jar "%~dp0launcher-1.09_17-portable.jar"Expected behavior:
Launcher should run and function as intended.
Desktop: