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

Re: Eclipse 3.1-7 debs uploaded



On Tue, Sep 06, 2005 at 08:34:18AM +0200, Michael Koch wrote:
> On Mon, Sep 05, 2005 at 10:55:37PM -0400, Steve M. Robbins wrote:
 
> > When I run elipse, it does a probe for VMs, finding only
> > /usr/lib/jvm/java-gcj.  OK, so I went into preferences to add the sun
> > JRE.  I add the JRE, but it doesn't "stick": when I go back into
> > preferences, it is no longer listed.  There's an exception in the log
> > (attached).  Anyone got any ideas?
> 
> It uses the search order written down in /etc/eclipse/java_home.
> /usr/lib/jvm/java-gcj is the first entry there.
> 
> To start with another VM as user you should use the -vm argument:
> 
> eclipse -vm /usr/lib/jvm/java-gcj

I can try this.  However, to be clear: I'm not so concerned about
which vm is chosen by default.  I'm concerned that I cannot edit
eclipse preferences.


> > !SESSION 2005-09-05 22:38:22.931 -----------------------------------------------
> > eclipse.buildId=I20050627-1435
> > java.fullversion=GNU libgcj 4.0.2 20050821 (prerelease) (Debian 4.0.1-6)
> > BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> > Framework arguments:  
> > Command-line arguments:  -os linux -ws gtk -arch x86 
> > 
> > !ENTRY org.eclipse.update.configurator 2005-09-05 22:38:24.899
> > !MESSAGE /usr/local/lib/eclipse/plugins is not a valid plugins directory.
> > 
> > !ENTRY org.eclipse.core.runtime 4 2 2005-09-05 22:39:16.426
> > !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.runtime".
> > !STACK 0
> > gnu.xml.dom.ls.DomLSException: illegal XML character U+0
> >    at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
> >    at gnu.xml.dom.ls.DomLSParser.parse(org.w3c.dom.ls.LSInput) (/usr/lib/libgcj.so.6.0.0)
> >    at gnu.xml.dom.DomDocumentBuilder.parse(org.xml.sax.InputSource) (/usr/lib/libgcj.so.6.0.0)
> >    at org.eclipse.jdt.internal.launching.VMDefinitionsContainer.parseXMLIntoContainer(java.io.InputStream) (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so)

> This is a known limitation in the current GCJ in unstable.

Err, but you do realize this makes eclipse unusable?  And not just for
preferences.  After sending my email last night, I tried simply
importing some sources and editing the code.  I would regularly get
exceptions like the above ("illegal XML character U+0") when trying to
do simple things like open a class using CTRL-SHIFT-T.

Is it really this unusable for everyone?

-Steve



Reply to: