This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Running Eclipse with 3.4's gij
- From: Andrew Haley <aph at redhat dot com>
- To: Anthony Green <green at redhat dot com>
- Cc: Tom Tromey <tromey at redhat dot com>, java at gcc dot gnu dot org
- Date: Tue, 23 Mar 2004 12:50:43 +0000
- Subject: Running Eclipse with 3.4's gij
- References: <1079990659.3779.16.camel@escape>
Anthony Green writes:
>
> To run Eclipse with 3.4's gij, you will probably want to set the
> gnu.gcj.runtime.VMClassLoader.library_control property...
>
> GCJ_PROPERTIES="gnu.gcj.runtime.VMClassLoader.library_control=never" ~/eclipse/eclipse/eclipse -vm gij
>
> Selecting the Help menu fires up tomcat and, on my system, libgcj
> starts loading the RHEL3 versions of lib-org-apache-*, etc.
> which are incompatible.
>
> I was able to run Eclipse with no obvious problems after setting this
> property.
>
> I realize that some day we may have a new ABI that should
> solve problems like this, but I'm thinking that it might also make
> sense for libgcj to only load libraries from a compiler specific
> directory. What do you think?
No, it's a bad idea to change this now. The new ABI is closer than
you think. I don't think we want to change this behaviour twice
between gcc 3.4 and 3.5.
IMO, it's quite legitimate to keep .so files in the same directory as
.jar files. One alternative I'm considering is perhaps to put them in
a subdir.
Andrew.