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

Zip exception -uuuuurgent

 
Arup Chowdhury
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
My application is running fine on Windows but when i tested it on Linux RedHat 7.1
On giving the command to execute,

java -Djava.security.policy=FBNServer.policy -jar server.jar
it threw the exception
Exception in thread "main" java.util.Zip.ZipException and didnt run.
Regards
Arup
 
Matthew Comer
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How did you get the jar file to the Linux box? Did you FTP it? If so, did you remember to issue "type binary" before you transferred the file?
It sounds like the jar file is corrupted.
Matt
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic