

For example, do it like this on Ubuntu Lucid, to generate a Linux executable: The main idea is to use GCJ, The GNU Compiler for Java to generate the executable. A JVM or JRE on the target system is not required to run the executable. Each executable is platform-specific, but executables can be generated for many different platforms. jar files) to stand-alone binary executables which run on Linux, Windows etc. This blog post explains how to compile Java programs (e.g.

