Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

File.jar

 
Mike Shn
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is it possible to run file.jar from the cmd or MS-Dos?
Also jar fro what it stands for?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jar stands for "Java Archive" and it is really just a zipped file containing classes.
You can execute a jar file from the command prompt if you supply a manifest file to tell the system which class has the main method in it that you want to start with.
Here is a tutorial.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic