Thanks a ton, I have used this and code is working fine -
public class JarFileInfo {
public static void main(
String args[]) throws IOException{
JarFile j = new JarFile("abc.jar");
Enumeration e = j.entries();
while(e.hasMoreElements()){
System.out.println(e.nextElement());
}
}
}