• Post Reply Bookmark Topic Watch Topic
  • New Topic

how can we make a jar file

 
samdeep aarzoo
Ranch Hand
Posts: 160
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can anyone tell me
how can we make a jar file
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24213
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar cf filename.jar *.class
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 15715
73
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look at the documentation: jar - The Java Archive Tool
And the tutorial: JAR Files Tutorial
 
kalai sundar
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
jar filename.jar classfilename

By executing the above command u c create ur own jar file.



kalai
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!