Salut Ogre,
Dans processing, menu file : export application permet de créer une version autonome de ton programme, en .exe pour windows, en .app pour macos ou en éxécutable linux. Le sujet sur le forum de processing date de 2004, avant qu'il y ait cette possibilité, maintenant c'est automatique. Cela crée un exe mais qui a besoin du répertoire lib, donc tout n'est pas dans un seul fichier.
Si tu veux créer un seul fichier exe qui contient tout, apparemment il faut regarder du côté de http://jsmooth.sourceforge.net/ ou http://launch4j.sourceforge.net/
d'après : http://processing.org/reference/environ … pplication
«Windows is a shell .exe that calls the code and requires the "lib" folder along with it be kept intact. Someday we might make Windows be a nice single .exe file, but this requires more time to implement, and more specifically, make work consistently with the libraries. If you're finicky about this, use a Java EXE generator such as JSmooth or launch4j. »
Et bonne année!
|