Perhaps try using Terminal to create the JAR file?

http://stackoverflow.com/questions/10125639/how-to-create-a-jar-file-using-
the-terminal


They make mention of a manifest file in the JAR.  Assuming your archive
has this file and the archive works as expected before editing?

(Never done any of this, just passing along a suggestion.)

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 5/29/15, 1:13 PM, "Colin Holgate" <[email protected]> wrote:

>I have a need to edit a single character in a class file inside a jar
>file. My steps are:
>
>rename the file to .zip
>expand it
>use a hex editor to make the single character change
>compress the folder
>rename back to jar
>
>The jar file I get is seen to be bad. If I leave out the class editing,
>and just rename, decompress, compress, rename, that¹s enough for the jar
>to not work.
>
>Anyone have some insights as to how to expand and archive a jar file,
>without breaking it?
>_______________________________________________
>use-livecode mailing list
>[email protected]
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode



_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to