Menu

Invalid or corrupt jarfile

Help
Tim
2005-06-07
2013-03-07
  • Tim

    Tim - 2005-06-07

    I had the above error in fqb200506.jar
    making the folder META-INF upper case within the jar fixed the problem.

    I found the following by googling:
    http://www.symphonia3.com/KBPage.aspx?KBID=10285

    This problem appeared due to changes between J2SE 1.4.2_04 and 1.4.2_05-b04, the manifest.mf path must now be in uppercase otherwise the jar file is rejected.

    Unfortunately, both the Symphonia3.jar and the Mapper.jar contain (now invalid) lowercase characters in their /META-INF/MANIFEST.MF paths.
    Solution

    The solution is to unzip the Symphonia3.jar and Mapper.jar files, rename the paths and files to uppercase, then rezip back into Symphonia3.jar and Mapper.jar.

     
    • Gav

      Gav - 2005-06-10

      I also have this problem.
      I have tried as suggested above using the linux zip command however after rebuilding the jar with the capitalised directory I still get the same Invalid or corrupt jarfile.
      Would it be possible to the developer to rebuild the package using the new J2SE rules?
      Cheers

       
      • Tim

        Tim - 2005-06-10

        If it helps I used 7-zip to open the archive.
        (Under windoze XP)
        http://www.7-zip.org/

         
    • nickyb

      nickyb - 2005-06-10

      Hi,
      I have rebuilded the jar file with uppercase. Please try it and let me know. Thanks

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.