0

Is there a way to execute the following command:

java -jar nameofjar.jar some parameters

from a batch file? I tried with:

start java -jar nameofjar.jar <some parameters>

but this doesnt seem to do anything

1 Answer 1

1

java.exe -jar "myJar.jar"

should do what you are looking for...

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.