GCJ 4.1 and OpenOffice.org

Panagiotis Astithas past at ebs.gr
Fri Mar 10 01:58:30 PST 2006


Achilleus Mantzios wrote:
> O NAKATA Maho ?????? ???? Mar 10, 2006 :
> 
>> Hello,
>>
>> I believe gcj is now one of the usable Java implementation,
>> however there are some small (but tedious) issues must be solved to 
>> check in to FBSD ports cvs repo.
>> I made some ports or updates of ports so that we can at least compile a
>> package using Java; OpenOffice.org. I believe with appropreate wrapper,
>> we can add gnugcj as _JAVA_VENDOR_LIST in /usr/ports/Mk/bsd.java.mk.
>> then we can use/comple Java applications without bootstrapping java/jdk14
>> etc.
>>
>> You can download ports skeleton at:
>> ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/misc/gcj+ooo.20060310.tar.bz2
>> gcj+ooo.20060310.tar.bz2 : md5sum  7d4c2aedb775b5058765b40e5c6ed378  
>>
>> Install instruction:
>> 1. gmake-devel ... workaround for installation of gcc41
>> 2. gcc41-with_gcj ... build gcc with gcj
>> 3. gjdoc ... javadoc alternative 
>> 4. openoffice.org-2.0-devel make with option -DWITH_GNUGCJ
>>
>> Comments are welcome.
>> thanks,

So this is essentially a (collection of) tweaked gcc41 port(s) that 
avoids the gmake bug that hoses systems with 1GB RAM? If so I'd love to 
try this, as I've been wanting to do the same for a while.

> This is really cool.
> I also heard of harmony.
> Whats the difference between ASF's harmony and GCJ?
> It would be very good for all of us if these alternatives
> came into a robust shape.

Harmony is not as mature as gcj+classpath is right now, in both the VM 
and class library parts. It has a very bright potential though. One of 
the nice things about us is that the current VM effort (JCHEVM) is a 
strip down version of ports/java/jc, by our very own archie.

The Harmony class library is currently not quite functional with the 
JCHEVM, but that is being worked on. It doesn't support FreeBSD at the 
moment, but that will undoubtedly change. I have a (rather old) WIP that 
I hope to finish sometime.

Cheers,

Panagiotis


More information about the freebsd-java mailing list