Reputation: 17203
What is the current status of GCJ at the moment (mid 2009)?
The latest news are from 2007, so I'm wondering if there is any form of progress? I remember that there was a while ago a compiled version of lucene available which used gcj to compile it from the java sources. Is there any other high profile project which uses gcj at the moment?
Upvotes: 3
Views: 486
Reputation: 718787
GCJ is dead. According to the Wikipedia page on GCJ:
As of 2015, there were no new developments announced from GCJ and the product was in maintenance mode, with open-source Java toolchain development mostly happening within OpenJDK.[9] GCJ was removed from the GCC trunk on September 30, 2016.[10][11] Announcement of its removal was made with the release of the GCC 7.1, which does not contain it.[12] GCJ remains part of GCC 6.
(See the original page for the sources it cites.)
The open source Java community has moved on.
The alternatives to GCJ (depending on why you favored it) include the standard OpenJDK-based toolchain (including jlink
and jpackage
), and GraalVM native image technology.
For people who want a better way (than JNI or JNA) for calling external code (e.g. C or C++) from Java, Java 22 implements the JEP 454: Foreign Function & Memory API.
Is there any other high profile project which uses GCJ at the moment?
I am not aware of any. But if a project is still using GCJ in 2024, they are most likely regretting it.
Upvotes: 0
Reputation: 13852
The news page hasn't been updated, but if you look through the changelogs for GCC 4.3 there is still active work ongoing. It can handle Java source up to 1.5.
Upvotes: 2