Saturday, April 18, 2015

Package and java application into Jar file and execute it from command line

Steps:
1- Build Jar artifact myApp.jar
2- Execute the applicatoin jar form command line:
~/java -jar myApp.jar

No comments:

Post a Comment