We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to package a sketch to run as a standalone application. .jar would be ideal, because it'd be cross-platform, but I don't know how to package the whole mess together.
edit: I've looked into Launch4j, exe4j, and jsmooth. None of these are ideal, because they output single-platform exe's, and I don't know how to use them appropriately anyway.
Answers
Processing v1.5.1 exports as .jar w/ CTRL + E!
I'm running 2.0
I found what I needed though. bat2exe works, at least on windows.
And now I'm looking into doing it with 7zip.
You can write processing code directly in eclipse with java and compile it as a jar. You can also export the sketch, import to eclipse and compile to jar. Both methods should work for your jar needs if you follow the predetermined protocol.
I wrote a tool that takes a Processing application and exports a self-extracting jar: http://StaticVoidGames.com/SvgExe/