Skip to content

[BUG] Betacraft Portable Jar crashes with portable JRE #405

@ItsFoxy87

Description

@ItsFoxy87

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:

  1. Set up USB with JAR portable launcher and portable JRE (I have tried both JDKPortable and jPortable from PortableApps)
  2. Set up a batch file as shown below to run the application with the installed JRE
  3. Run batch file
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething doesn't work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions