Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By JosAH

Thread: How to check jarfile within jarfile using Java code?

  1. #1
    shanmuga is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Default How to check jarfile within jarfile using Java code?

    I have one jar file TestA.jar file. This jar file contains META-INF folder, demo.class file and TestB.jar file. I want to check TestA.jar within TestB.jar using java.util.jar package without Extract these jar files....
    Ex:
    TestA.jar
    - META-INF
    - demo.class
    - TestB.jar
    - WEB-INF
    - demo1.txt

    I expect output is :
    TestA.jar/META-INF
    TestA.jar/demo.class
    TestA.jar/TestB.jar
    TestA.jar/TestB.jar/WEB-INF
    TestA.jar/TestB.jar/demo1.txt

    If anybody know.... Reply me????
    Please note of this, donot extract jar file.....
    without extracting try it....

  2. #2
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,773
    Blog Entries
    7
    Rep Power
    21

    Default Re: How to check jarfile within jarfile using Java code?

    I removed your other (duplicate) thread.

    kind regards,

    Jos
    noobplus likes this.
    cenosillicaphobia: the fear for an empty beer glass

Similar Threads

  1. code to refresh and check the code of a webpage..
    By vaggelis in forum New To Java
    Replies: 5
    Last Post: 02-07-2012, 03:21 PM
  2. Code to check if a piece of code is legal.
    By vahshir in forum New To Java
    Replies: 3
    Last Post: 08-30-2010, 05:21 AM
  3. how i can run a jarfile in linux
    By mharblez in forum Advanced Java
    Replies: 6
    Last Post: 10-12-2008, 07:07 AM
  4. Creating jarfile containing external jarfiles
    By gowry in forum Advanced Java
    Replies: 44
    Last Post: 04-08-2008, 04:18 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
  •