Comments (6)
The download links at https://github.com/ojdkbuild/ojdkbuild suggest that those are 64-bit builds of the JDK. The "windows32" executable of packr won't be able to load jvm.dll.
You either need to do a "windows64" build, or use a 32-bit JVM.
from packr.
@code-disaster OpenJDK refuses to load my jar file anyway for whatever reason, so I can't really use it. I swapped out OpenJDK with a 32bit version of the Oracle JRE. Even without minifying, it still resolves to the same error.
from packr.
Lets try to tackle one issue at a time. The "oracle8jre" minimize profile isn't intended to be used (and has never been tested) with OpenJDK, so I wouldn't be surprised if it messes stuff up. You should try to get it running without minimization first.
In case your code does not require Java 8, you can try with a proven JDK version, e.g. OpenJDK 7u45.
In your build, please check if there's .\jre\bin\server\jvm.dll
present in the first place. Then, for a simple test, you can copy packr-windows.exe and packr-windows-64.exe from [packr]\src\main\resources\
next to your undertailor.exe
, and try running both.
from packr.
I ran the program without minification to test the Oracle JRE. It still kills the program with the original message. The Win64 version, however, works fine, with oracle8jre
minification and a 64bit Oracle JRE.
My code has a lot of Java 8 things, so it wouldn't work on anything less.
The jvm.dll is present in both the 64bit and 32bit versions, the 32bit version is the only thing crashing with the original message.
Using the original executables found within the packr.jar
file produces the same result, where the 32bit version cries the same error and the 64bit version successfully executes the JAR file (albeit having another issue that I opened up in #67).
from packr.
Can you check with some tool (e.g. Dependency Walker, or Cygwin/MinGW file
) that jvm.dll is really a Win32 DLL in the 32-bit JRE? This error message doesn't make any sense.
from packr.
Apparently the server/jvm.dll
was missing, but there was a client/jvm.dll
, which was the one I rememebered existed (oops, sorry). Duplicated the one from the client
folder (probably stupid), and it ended up working.
Have a feeling I should redownload this 32bit JRE.
Thank you.
from packr.
Related Issues (20)
- XstartOnFirstThread hangs forever on OSX HOT 1
- LWJGL3 crashes on OSX HOT 4
- Packr cannot recognise `jrePath` Temurin JRE and JDK zips for Windows HOT 8
- Load configuration file relative to executable location, not working directory HOT 1
- Can you create Linux binary that makes use of installed Java on Linux instead of packaging one with packr?
- How to make generated app to use current working dir as its working dir instead of app's dir?
- FEATURE REQUEST HOT 1
- Consulting: Complicated packaging methods
- Packing with Oracle JDK causes error HOT 2
- Mac keeps throwing permission denied HOT 1
- Error 503 from https://artifactory.nimblygames.com while building HOT 1
- Version 4.0.0 missing from artifactory HOT 2
- Error when execute .exe file
- classpath is empty when retrieving it.
- Frame blurry when starting with bundled launcher
- Can you add an option to remove the previous out directory if it exists?
- Generated .exe does nothing HOT 8
- packr repo seems not to work HOT 6
- 关于windows打包的问题
- 关于linux/macos打包的问题 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packr.