{{cite web |last=Green |first=Anthony |title=GCJ announcement |url=https://gcc.gnu.org/news/gcj-announce.txt |access-date=May 10, 2017 |archive-date=July 11, 2017 |archive-url=https://web.archive.org/web/20170711114719/https://gcc.gnu.org/news/gcj-announce.txt |url-status=live }}</ref>"},"discontinued":{"wt":"yes"},"latest release version":{"wt":"{{wikidata|property|preferred|references|edit|Q1007042|P348|P548=Q2804309}}"},"latest release date":{"wt":"{{wikidata|qualifier|preferred|single|Q1007042|P348|P548=Q2804309|P577}}"},"latest preview version":{"wt":"{{wikidata|property|preferred|references|edit|Q1007042|P348|P548=Q51930650}}"},"latest preview date":{"wt":"{{wikidata|qualifier|preferred|single|Q1007042|P348|P548=Q51930650|P577}}"},"operating system":{"wt":"[[Unix-like]]"},"programming language":{"wt":"[[C (programming language)|C]], [[C++]], [[Java (programming language)|Java]]"},"platform":{"wt":"[[GNU]] and many others"},"genre":{"wt":"[[Compiler]]"},"license":{"wt":"[[GNU General Public License|GNU GPL]]"},"website":{"wt":"{{URL|https://gcc.gnu.org}}"}},"i":0}}]}'>
The GNU Compiler for Java (GCJ) is a discontinued free compiler for the Java programming language. It was part of the GNU Compiler Collection.
GCJ compiles Java source code to Java virtual machine (JVM) bytecode or to machine code for a number of CPU architectures. It could also compile class files and whole JARs that contain bytecode into machine code.