[OSM-dev] Josm Bookmarks WAS: JOSM plugin for direct serial read

Andreas Brauchli linux at elementarea.net
Wed Dec 6 15:02:04 GMT 2006


On Sat, 2006-12-02 at 12:49 +0000, 80n wrote:
>         I have proposed a solution to this. I discovered that you can
>         append any rubbish
>         to the beginning of a jar file without changing it's behaviour
>         so long as that 
>         'rubbish' doesn't contain the PKzip magic number. It is
>         therefore possible to
>         prepend a small (200k) windows executable to the front of a
>         jar then call it
>         .jar.exe. That executable can check for a suitable
>         installation of java before 
>         invoking the program, if necessary download & install the
>         necessary version of
>         Java. 'java -jar myapp.jar.exe' will work normally.

doesn't that make antiviruses ring bells?
(1. because of the prepended executable code and
 2. because of the double suffix ending in .exe)

do free java implementation/other java versions capable of running josm
(if any at all) cope with this hack?

otherwise the idea sounds nice :)





More information about the dev mailing list