Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    accessing Jar files

    Hi all

    Is it possible to access a txt file that is in a jar file???
    That is , Ive created a jar file that contains a txt file, now in my script, I need to access this txt file, is this possible?h
    Thanks , Dave

  2. #2

  3. #3
    Linux User
    Join Date
    Jul 2004

    Given that the jar files are just zip files with some cruft in it (like manifest file, etc), you should be easily able to uncompress it. If you browse java API you'll discover that there's a class for handling zip compressed data.

    "I don't know what I'm running from
    And I don't know where I'm running to
    There's something deep and strange inside of me I see"

  4. $spacer_open
  5. #4

    Found it !

    It is very simple and can be found in:

    Thank you all for helping !

Posting Permissions

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