• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

cant add class file to jar

 
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi

i'm trying to add a class file to an existing jar using the following command (win2k Os)

jar uf basiswebtop.jar list.class



i've declared the class as a member of the package.

cheers

chris
 
Desperado
Posts: 3226
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Confession from an experienced Java developer:

If I encounter the need to add any kind of file (*.class included) to a ZIP, I mean, a JAR file, I use a ZIP utility like WinZip (which is not the only ZIP util).

I hope I don't become ostracized from the Java community for confessing.

Reality Check: Obviously I develop in a Win32 environment, not UNIX.

BTW: ZIP and JAR files are the same. I think they are the same even when MAXIMUM compression is used in the ZIP utility. But don't take my word for it.

If you use NO COMPRESSION in the ZIP utility, they are the same. (Didn't MANIFEST files go the way of Compuserve?)

Hope I didn't confuse more than supply encouragement for further study?
 
reply
    Bookmark Topic Watch Topic
  • New Topic