Here's the second script I named 2createJar. That script creates a jar file with the manifest included so I can just use the java -jar command to run my program. I include that command in a batch file I named 3runJar. I use the 1, 2, and 3 as filename prefixes to remind me the order things should be run in later.
That's pretty lazy. The javac command will compile the java program and the java command will run the program and pause will pause the result until you cross it. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to run java application by.
Asked 9 years, 11 months ago. Active 8 years, 11 months ago. Viewed k times. Improve this question. You May Also Like.
Calculate the average using array in Java May 17, October 12, admin 0. How to fill a 2D array with numbers in Java June 12, October 12, admin 0.
Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Stack Gives Back Safety in numbers: crowdsourcing data on nefarious IP addresses.
Featured on Meta. New post summary designs on greatest hits now, everywhere else eventually. Linked 1. Related Hot Network Questions.
0コメント