Skip to content

Bundled JRE missing from Windows installation causing Tabula extraction to fail #54

@wanjuifavour

Description

@wanjuifavour

Description

The Windows build is missing the bundled Java Runtime Environment (JRE), which causes the Tabula PDF extraction feature to fail. The application expects to find a bundled JRE but the folder is empty/missing.

Suggested Label

bug

Steps to Reproduce

  1. Install mpesa2csv on Windows using the official installer
  2. Attempt to use any feature that requires Tabula (Upload pdf to convert)
  3. Observe the error

Expected Behavior

The application should work without requiring users to install Java separately. The bundled JRE should be present at C:\Program Files\mpesa2csv\build-jre\jre-windows-x64\bin\java.exe.

Actual Behavior

The application throws an error:

Tabula extraction failed: Failed to execute Java (using system PATH (bundled JRE not found)): Java executable not found. Please ensure Java is installed or the bundled JRE is properly configured. Expected bundled Java at: "\\?\C:\Program Files\mpesa2csv\build-jre\jre-windows-x64\bin\java.exe"
JRE folder checked: "\\?\C:\Program Files\mpesa2csv\build-jre\jre-windows-x64"
JAR path: "C:\Program Files\mpesa2csv\tabula-1.0.5-jar-with-dependencies.jar"
Error: program not found

Environment

  • OS and version: Windows 11 25H2
  • Node.js version: N/A (using installed executable)
  • pnpm version: N/A (using installed executable)
  • App version: v0.11.0

Screenshots

Image

Additional Context

  • The build-jre\jre-windows-x64 folder exists but is empty/incomplete
  • Workaround: Installing Java system-wide allows the app to function, but this defeats the purpose of bundling a JRE
  • This appears to be a packaging/build issue where the JRE isn't being included in the Windows installer

Suggested Fix

The build/packaging process needs to be updated to ensure the JRE is properly included in the Windows installer distribution.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions