Recognizing gcj as default StandardVM (JRE System Library)
Mark Wielaard
mark@klomp.org
Sat Aug 2 13:55:00 GMT 2003
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.
More information about the Eclipse
mailing list