[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: WTF: All those eclipse packages (and som gcj questions)



On 17.12.05 13:54:55, Michael Koch wrote:
> On Sat, Dec 17, 2005 at 12:42:36PM +0100, Andreas Pakulat wrote:
> > > Only when using GCJ to run Eclipse and eclipse-ecj-gcj is installed.
> > 
> > Ok, got that installed.
> > 
> > > Eclipse just calls the main ECJ class inside itself and SUN is not
> > > capable of using the native jars.
> > 
> > Hmm, so when running eclipse with gcj it automatically uses ecj-gcj when
> > the eclipse-ecj-gcj package is installed? 
> > 
> > I just want to be sure I get this right.
> 
> Sorry, I got this wrong. For ECJ from inside eclipse you need
> eclipse-jdt-gcj

I installed everything with eclipse in it anyway...

Anyway, somethings not working here as expected. Having
JAVA_HOME=/usr/lib/jvm/java/gcj is _much_ slower (in startup) than using
SUN's JDK. And I can't use Java 1.5 features such as template-classes.

Also it seems that java-gcj VM doesn't load jar files from
/usr/share/java. I get a class not found exception for the javahl
library on startup:

java.lang.ClassNotFoundException: org.tigris.subversion.javahl.SVNClient not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/lib/eclipse/startup.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}

The difference in startup is 1minute (with gcj), 40 seconds(with vm=sun,
java=java-gcj) and 30 seconds(with vm=sun and java=sun)

Any thoughts about this?

Andreas

-- 
You don't become a failure until you're satisfied with being one.



Reply to: