Results 1 to 3 of 3
  1. #1
    doha786 is offline Member
    Join Date
    Mar 2009
    Posts
    48
    Rep Power
    0

    Default how to create jar file ???

    i am very new in java.
    anyone pls tell me step by step that how can i make jar file for my ListFile.java file ....

    I made a directory named "Test" where put ListFile.java & ListFile.class file.
    then i made a "mainClass.mf" file in same directory where having this code:
    Java Code:
    Main-Class: Test.ListFile
    after this i created jar file containing this code:
    Java Code:
    >jar cmf mainClass.mf ListFile.jar*.*
    but its not working..

    pls help....................

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

  3. #3
    Pac88 is offline Member
    Join Date
    Apr 2009
    Posts
    2
    Rep Power
    0

    Default

    If you are mac user i advice you to use jar bundle application which you can find in xcode package. It's very easy to use.

Similar Threads

  1. How to create a file
    By Alpha in forum New To Java
    Replies: 7
    Last Post: 01-06-2012, 07:10 PM
  2. How to create file on server?
    By thevoice in forum New To Java
    Replies: 10
    Last Post: 08-12-2010, 06:06 PM
  3. How to create .ear file for Websphere
    By bhupal4all in forum Advanced Java
    Replies: 1
    Last Post: 12-10-2008, 08:21 AM
  4. How to create exe file in java
    By radix in forum New To Java
    Replies: 8
    Last Post: 11-06-2008, 04:17 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •