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: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich 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!"

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup