-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
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
- Install mpesa2csv on Windows using the official installer
- Attempt to use any feature that requires Tabula (Upload pdf to convert)
- 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
Additional Context
- The
build-jre\jre-windows-x64folder 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels