• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool to list full name of classes in jar?

 
Tom Corcoran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have added a package name to my .jar and things are now not working. Is there a tool I can use to list the classes in a jar so I can everything is as it should be?

i found the post
http://forum.java.sun.com/thread.jspa?threadID=341935&start=15 but was not able to compile the code.

thanks, Tom.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just use "jar tf name.jar" at the command prompt.
 
Tom Corcoran
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Cool. Thanks. That gave me :

META-INF/
META-INF/MANIFEST.MF
image/image1.JPG
and a bunch more images.

Looks my my Intellij ant build is bogus, if I do a build from the command line the same command exposes the classes.
[ November 10, 2006: Message edited by: Tom Corcoran ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic