Results 1 to 5 of 5
  1. #1
    Heather is offline Senior Member
    Join Date
    Jun 2007
    Posts
    164
    Rep Power
    7

    Default Creating jar file

    I want to create a jar file named onlyjar.jar where I'm using other jar files like util1.jar,util2.jar etc.
    My problem is how to create a jar with all these together ???

  2. #2
    Ed
    Ed is offline Senior Member
    Join Date
    Jun 2007
    Posts
    110
    Rep Power
    0

    Default

    Simply, you can't. Your util1.jar etc. should be separate jar files.

  3. #3
    JavaBean's Avatar
    JavaBean is offline Moderator
    Join Date
    May 2007
    Posts
    1,270
    Rep Power
    10

    Default

    You can extract all these JAR files into one directory with Winzip/Winrar and re-create the jar file by zipping all these content together and renaming the file extension.

    But make sure your action is valid for the license of these libraries and make sure the manifest file contains all necessary lines for all of the manifest files of these jars.

  4. #4
    red
    red is offline Member
    Join Date
    Oct 2008
    Posts
    4
    Rep Power
    0

    Default

    :)I'm sorry.I have to do other things so i didn't do for java but now i'm start again.

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

    Default

    What's your question red? Please don't mess-up with unrelated thread. Please choose the correct thread when you posting again. Read our FAQ page, it's really helpful to you.

Similar Threads

  1. creating jar file
    By po0oker in forum Advanced Java
    Replies: 3
    Last Post: 04-04-2008, 07:49 PM
  2. Problem creating a Post script file
    By krishnan.1000 in forum New To Java
    Replies: 0
    Last Post: 02-14-2008, 07:15 PM
  3. Creating a File object in Servlet
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-16-2008, 10:24 AM
  4. creating .ear file
    By psn in forum Enterprise JavaBeans (EJB)
    Replies: 1
    Last Post: 01-06-2008, 05:01 AM
  5. File creating date/time
    By bugger in forum New To Java
    Replies: 1
    Last Post: 11-11-2007, 07:43 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
  •