bugfastjar - Bugs: bug #18991, fastjar.c doesn't work with...

 
 

bug #18991: fastjar.c doesn't work with Launch4J (while sun's jar does)

Submitter:  None
Submitted:  Thu 08 Feb 2007 01:02:39 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 12 Feb 2007 02:37:40 PM UTC, comment #1: 

zziplib has been on my radar in order to make fastjar use it, rather than doing it all by hand. Any idea how hard it would be to adapt the existing code base to use zziplib?

Dalibor Topic <robilad>
Group administrator
Thu 08 Feb 2007 01:02:39 AM UTC, original submission:  

Launch4J places a windows executable inside the zip header, allowing one to either run the file as a .exe on windows or to launch it via "java -jar filename.exe".  It seems there is some rare bit of the zip spec allowing this (there's a discussion of it on http://zziplib.sourceforge.net/zzip-parse.html ).

jartool.c::list_jar doesn't search for the PK\5\6 header outside the basic location, and fails to load Launch4J built jars with "Error in JAR file! Cannot locate central header!"

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by robilad (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code