


Just download, extract it, and start running bin/gcj. It is a working GCJ (GNU Java Compiler) 4.4.0 compiled for Win32. EXE#Įxe is stand-alone, it doesn't need a JDK or JRE, and it can run on any Win32 system. (There are some bugs, restrictions and incompatibilities between e.g. So your Java programs won't work out-of-the-box, but it's possible to make small porting changes to make them work.) OpenJDK and GNU ClassPath, the Java standard library GCJ 4.4 uses.

It has been tested and found working on Windows XP and Wine 1.2 on Ubuntu Lucid. So you don't need a Windows machine in order the be able to release a Windows. Just run the GCJ 4.4.0 above using Wine on Linux (or Mac OS X etc.) to generate the. #COMPILING JAVA PROGRAM FOR WINDOWS MAC OS X# Most of the files were extracted from archives downloaded from this MinGW download page.Įxample invocation in debug mode (with line numbers in exception stack traces):īin\gcj -static-libgcj -static-libgcc -main=Prog -g -o prog.exe P*.java The binaries are from MinGW (thus they are free software under the GPL, parts under different free licenses, see MinGW's license). #COMPILING JAVA PROGRAM FOR WINDOWS ARCHIVE#.#COMPILING JAVA PROGRAM FOR WINDOWS INSTALL#.#COMPILING JAVA PROGRAM FOR WINDOWS MAC OS X#.#COMPILING JAVA PROGRAM FOR WINDOWS HOW TO#.
