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]

Re: Recognizing gcj as default StandardVM (JRE System Library)


Hi,

On Sat, 2003-08-02 at 18:48, Tom Tromey wrote:
>
> What Mark is talking about is using the JDT with gcj.  Right now that
> is not easy to set up.

No, it took me a long time to figure out how to set it up. But once you
know that it expects a /usr/bin/java binary to be available and that
when running that binary on some byte code it can access the
system property sun.boot.class.path which should point to a jar or zip
file containing the core classes in byte code format then it is really
easy to setup:

- Install native eclipse (and the dependencies) from the RPMs you
  provided.
- Create a /usr/bin/java shell script containing to following:

        #!/bin/sh
        gij-ssa -Dsun.boot.class.path=/usr/share/java/libgcj-3.5-tree-ssa.jar $*
        
And you are done!

Just start using the new project -> java wizard
and new file -> class wizard and you have your Hello World program
running in seconds.

Cheers,

Mark


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