We have a Java application we would like to distribute as an executable for PC users. What tools for Eclipse developments can help us build a native executable version of our Java app?
GCJBuilder Eclipse plug-in integrates the GNU Compiler for Java (GCJ) into the Eclipse build process. GCJ compiles Java into directly executable programs.
You will need GCJ, along with a copy of GNU Make, to use GCJBuilder with Eclipse. Links to GCJ and Minimal System (MSYS), which includes GNU Make, are available in the download section of the GCJBuilder Web site .
After installing GCJ and MSYS, adjust your system PATH so Eclipse can find the files “gcj” and “make.” Unzip the GCJBuilder plug-in into your Eclipse plug-ins directory and start Eclipse.
Follow the setup instructions on the GCJBuilder Web site to add GCLIB to your Eclipse Classpath Variables. Create a new Java project, open the Project Properties dialog, click on the checkbox labeled “Add GCJ Support,” enter the name of your program’s main class in the text box and click OK to close the dialog.
Eclipse now will use GCJ to compile your Java source code and create the executable program in your project’s “binout” directory.




