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


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

Submitted by:  None
Submitted on:  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

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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!"



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3