Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 3 of 3

Thread: JAR vs. .class files.

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Question JAR vs. .class files.

    HI there!!

    Just wanted to know please, what's the difference between the .class file to the .JAR file and also, how can I build the JAR file from the command-line prompt.

    Thanks in advance!!

    atar.


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: JAR vs. .class files.

    A quick web search yields the top hit: Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
    Worth spending some time reading if you have not yet.

  3. #3
    Junior Member
    Join Date
    Apr 2012
    Posts
    15
    Thanks
    3
    Thanked 0 Times in 0 Posts

    Red face Re: JAR vs. .class files.

    Quote Originally Posted by copeg View Post
    A quick web search yields the top hit: Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
    Worth spending some time reading if you have not yet.
    Thanks you!!

Similar Threads

  1. get method names in all the class files in the jar/war/ear
    By purushothaman in forum Java SE APIs
    Replies: 0
    Last Post: March 20th, 2012, 08:45 AM
  2. How to edit .class files in Eclipse
    By xbill in forum Java IDEs
    Replies: 2
    Last Post: April 22nd, 2011, 02:31 PM
  3. importing class files :S
    By b3ard in forum What's Wrong With My Code?
    Replies: 3
    Last Post: September 2nd, 2010, 03:45 AM
  4. Methods in java class files are not recognized.
    By Girish in forum What's Wrong With My Code?
    Replies: 1
    Last Post: April 18th, 2010, 05:44 AM
  5. Need help compiling java class files
    By peahead in forum What's Wrong With My Code?
    Replies: 5
    Last Post: February 11th, 2010, 09:04 AM

Tags for this Thread