Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

another URGENT JAR question

 
john mattucci
Ranch Hand
Posts: 331
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank u all for your time. I appreciate all your help
I have one more question. I am trying to create an executable jar. It runs fine for the most part. But I come
accross a problem when I try to add some *.jar file(s)
I need these for my emailing functions (javax.activation,...) I get the following error
adding: c.jarjava.util.zip.ZipException: attempt to write past end of STORED
entry
at java.util.zip.ZipOutputStream.write(ZipOutputStream.java:267)
at sun.tools.jar.Main.addFile(Main.java:615)
at sun.tools.jar.Main.create(Main.java:413)
at sun.tools.jar.Main.run(Main.java:144)
at sun.tools.jar.Main.main(Main.java:904)
And when i attempt to read off of the classpath it cannot find the files . I added Class-Path: javax.activation mail.jar and that doesnt help
can someone help this is really urgent

------------------
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic