Results 1 to 5 of 5
  1. #1
    c0elh0 is offline Member
    Join Date
    Oct 2008
    Location
    Lisbon, Portugal
    Posts
    14
    Rep Power
    0

    Default files to make jar?

    Hi all,
    what kind of files should I include from the java project when making a .jar file?
    (.class? or .java?)
    Do I need to respect some hierarchy when putting files in folders?
    For you to have an idea, I have .dll and .jar files to include.

    thanks

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,305
    Rep Power
    25

    Default

    PUt all the class and data files in the jar file that your application needs to execute in a jvm.
    The jvm wll NOT read .dll or .jar files from within a jar file, so they will have to be external to the jar file.

  3. #3
    c0elh0 is offline Member
    Join Date
    Oct 2008
    Location
    Lisbon, Portugal
    Posts
    14
    Rep Power
    0

    Default

    ok, thank you. I'll try it...

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

  5. #5
    presh4u Guest

    Default

    yes all class files & java files must be included in jar file

Similar Threads

  1. Behaving text files like binary files
    By Farzaneh in forum New To Java
    Replies: 2
    Last Post: 08-27-2008, 03:20 PM
  2. Writing to files within jar files
    By erhart in forum Advanced Java
    Replies: 0
    Last Post: 02-04-2008, 02:50 AM
  3. Text and image files within jar files
    By erhart in forum Advanced Java
    Replies: 8
    Last Post: 01-19-2008, 04:43 AM
  4. how to convert mpeg files to .wav files
    By christina in forum New To Java
    Replies: 1
    Last Post: 08-06-2007, 04:14 AM
  5. convert xls files into pdf files
    By bbq in forum New To Java
    Replies: 3
    Last Post: 07-20-2007, 03:56 AM

Posting Permissions

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