-
Notifications
You must be signed in to change notification settings - Fork 0
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
⚡ Cannot make jar executable (cannot execute binary file: Exec format error) #14
Comments
I'm preparing a dumb |
Maybe I didn't understand you request, but a JAR cannot be executed directly without |
I meant the following thing(assuming we have a
ℹ️ Sometimes we use it on Spring Boot |
The purpose of this documentation is to explain how to make an executable JAR versus a lib JAR (with MANIFEST.MF)
Never seen that before, you need `java -jar ..'. Do you have some example ? |
Have you tested it ? Look at the docs please : https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#goals-repackage |
We'll talk about this at our SCRUM this afternoon. |
As discuused today. Abandonned because too much OS specfic |
❔ Context
I need to make the jar executable but I cannot achieve this.
Here are the steps to reproduce :
🎯 Action
Please let me know what should be done to make it possible to run the
jar
without having to calljava -jar
... or if not possible provide aj7zip.sh
in the repo that I could make executable.The text was updated successfully, but these errors were encountered: