Chapter 7. The GNU Compiler for Java (gcj)

The GNU Compiler for Java provides a native binary compiler for Java code. In this chapter we’ll show you how to compile a simple binary application from Java sources.

What You Will Learn

You will learn how to compile a binary executable from Java source code using the gcj compiler.

A Brand GNU Way

Quite some time ago Richard Stallman started an effort to create a free version of UNIX called GNU[1] (which stands for GNU’s Not UNIX—a recursive acronym). More than that, he tried to convince the world that code should be Free with a capital “F”. By this, he meant that it was unreasonable to provide software without both providing the source code and the right to use and modify that code as desired. To ensure ...

Get Java™ Application Development on Linux® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.