This is the mail archive of the
eclipse@sources.redhat.com
mailing list for the gcj-compiled eclipse project.
Recognizing gcj as default StandardVM (JRE System Library)
- From: Mark Wielaard <mark at klomp dot org>
- To: eclipse at sources dot redhat dot com
- Date: 02 Aug 2003 15:55:56 +0200
- Subject: Recognizing gcj as default StandardVM (JRE System Library)
- Organization:
Hi,
It took me some time to convince eclipse to recognize gcj/gij/libgcj as
standard vm. It is probably best to patch
org.eclipse.jdt.internal.launching.StandardVMType to better detect that
it is running as native binary. But for the moment I have just created a
/usr/bin/java executable which contains:
#!/bin/sh
/usr/bin/gij-ssa -Dsun.boot.class.path=/usr/share/java/libgcj-3.5-tree-ssa.jar $*
That way everything works out of the box for me.
(sun.boot.class.path is clearly not a documented standard system
property so Eclipse should really not use it.)
If there is a better way to do this, please let me know.
Cheers,
Mark
P.S. The mailinglist archives at http://sources.redhat.com/ml/eclipse/
don't seem to work.