Closed adriens closed 1 year ago
I'm preparing a dumb .sh
that does the job
Maybe I didn't understand you request, but a JAR cannot be executed directly without java
I meant the following thing(assuming we have a java
runtime properly set)
chmod u+x hello.jar
./hello.jar
:information_source: Sometimes we use it on Spring Boot
I meant the following thing(assuming we have a
java
runtime properly set)
The purpose of this documentation is to explain how to make an executable JAR versus a lib JAR (with MANIFEST.MF)
ℹ️ Sometimes we use it on Spring Boot
Never seen that before, you need `java -jar ..'. Do you have some example ?
:point_down:
👇
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
:grey_question: Context
I need to make the jar executable but I cannot achieve this.
Here are the steps to reproduce :
:dart: 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.