This is the mail archive of the eclipse@sources.redhat.com mailing list for the gcj-compiled eclipse project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Recognizing gcj as default StandardVM (JRE System Library)


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]