Error when execute .exe file
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.6k
- Forks
- 174
- PR merge metrics
- No merged PRs in 30d
Description
Once I have compiled my JAR, when I run the .exe, I have this error:
Error code [3] when trying to add DLL search directory: The system cannot find the path specified.
Error code [3] when trying to add DLL search directory: The system cannot find the path specified.
Error code [126] when trying to load jvm.dll: The specified module could not be found.
Error: failed to load VM runtime library!
I launched it from the terminal because without it nothing happened
I chose the jdk from 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.18%2B10/OpenJDK11U-jdk_x64_windows_hotspot_11.0.18_10.msi'
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the terminal output from the generated .exe and the selected Temurin 11 JDK installer path. Trace how packr locates the JVM runtime and DLL search directory on Windows, then verify the packaged executable launches without the missing-path or jvm.dll errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100