Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

jar files commands

Wed Feb 04, 2009 12:32 am

jar files commands :
This short article list a set of jar java commands which you can use to run, control and create jar files for your java project from command line.
Code:
jar cf javaApplication.jar topDir

This command will put all your java files in main directory and put them in javaApplication.jar .


Code:
jar -tf javaApplication.jar

List all the files in the java application.

Code:
java -jar javaApplication.jar

This code run your jar file .



Post a reply
  Related Posts  to : jar files commands
 FTP commands     -  
 SQL AND OR in WHERE query Commands     -  
 DELETE Commands     -  
 Execute System Commands     -  
 Graphics commands list in C++     -  
 Long files name     -  
 moving files in php     -  
 Get all files in folder     -  
 Merging JAR files     -  
 Print all files in a directory     -  

Topic Tags

Java Basics