-
Notifications
You must be signed in to change notification settings - Fork 170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installed JRE is used instead of bundled JRE #207
Comments
Is your jar file a runnable jar, does it contain a manifest file with a Main-Class entry? Are you sure the users are running the .exe file and not the .jar file? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm developing a game and using packr to bundle it (it is a very useful tool so first of all thank you!).
The issue I am having is regarding windows-64 users who already have Java installed. When they execute the packr bundled .exe their local Java is used instead to run the JAR instead of the bundled JRE as expected.
I know this is happening because:
Any help would be appreciated, thank you.
Here are my settings:
java -jar packr-all.jar
--platform windows64
--jdk "[JDK PATH]"
--useZgcIfSupportedOs
--executable [NAME]
--classpath [NAME].jar --mainclass [NAME].Main
--output out-windows
The text was updated successfully, but these errors were encountered: