On Mon, Sep 05, 2005 at 10:55:37PM -0400, Steve M. Robbins wrote: > On Mon, Sep 05, 2005 at 09:48:02PM -0400, steve wrote: > > Dear Michael, > > > > Thank you so much for the Eclipse 3.1 packaging! I downloaded the > > sources and built 3.1-9 debs. > > So then I updated my Sun 1.4 JDK, building and installing a package > using "java-package". I even made Sun's java and javac the default > alternative. > > 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 (or some other path to some other VM) Michael > !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) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.getVMDefinitions(java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.processVMPrefsChanged(java.lang.String, > java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.propertyChange(org.eclipse.core.runtime.Preferences$PropertyChangeEvent) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at org.eclipse.core.runtime.Preferences$1.run() > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.runtime.Preferences.firePropertyChangeEvent(java.lang.String, > java.lang.Object, java.lang.Object) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.internal.preferences.PreferenceForwarder.setValue(java.lang.String, > java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.jdt.launching.JavaRuntime$1.run(org.eclipse.core.runtime.IProgressMonitor) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at org.eclipse.core.internal.jobs.Worker.run() > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at .GC_start_routine (/usr/lib/libgcj.so.6.0.0) > at .__clone (/lib/tls/libc-2.3.5.so) > Caused by: [EMAIL PROTECTED] > at gnu.xml.aelfred2.SAXDriver.fatal(java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.error(java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.readCh() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.skipWhitespace() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseMisc() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseProlog() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseDocument() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.doParse(java.lang.String, java.lang.String, > java.io.Reader, java.io.InputStream, java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) > (/usr/lib/libgcj.so.6.0.0) > ...15 more > > !ENTRY org.eclipse.core.runtime 4 2 2005-09-05 22:40:12.238 > !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) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.getVMDefinitions(java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.processVMPrefsChanged(java.lang.String, > java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at > org.eclipse.jdt.internal.launching.LaunchingPlugin.propertyChange(org.eclipse.core.runtime.Preferences$PropertyChangeEvent) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.launching_3.1.0.jar.so) > at org.eclipse.core.runtime.Preferences$1.run() > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.internal.runtime.InternalPlatform.run(org.eclipse.core.runtime.ISafeRunnable) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.runtime.Platform.run(org.eclipse.core.runtime.ISafeRunnable) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.runtime.Preferences.firePropertyChangeEvent(java.lang.String, > java.lang.Object, java.lang.Object) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.core.internal.preferences.PreferenceForwarder.setValue(java.lang.String, > java.lang.String) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.core.runtime_3.1.0.jar.so) > at > org.eclipse.jdt.internal.debug.ui.jres.JREsUpdater$1.run(org.eclipse.core.runtime.IProgressMonitor) > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jdt.debug.ui_3.1.0.jar.so) > at org.eclipse.jface.operation.ModalContext$ModalContextThread.run() > (/usr/lib/eclipse/plugins.gcj/org.eclipse.jface_3.1.0.jar.so) > at .GC_start_routine (/usr/lib/libgcj.so.6.0.0) > at .__clone (/lib/tls/libc-2.3.5.so) > Caused by: [EMAIL PROTECTED] > at gnu.xml.aelfred2.SAXDriver.fatal(java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.error(java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.readCh() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.skipWhitespace() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseMisc() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseProlog() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.parseDocument() (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlParser.doParse(java.lang.String, java.lang.String, > java.io.Reader, java.io.InputStream, java.lang.String) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.SAXDriver.parse(org.xml.sax.InputSource) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.aelfred2.XmlReader.parse(org.xml.sax.InputSource) > (/usr/lib/libgcj.so.6.0.0) > at gnu.xml.dom.ls.DomLSParser.doParse(org.w3c.dom.ls.LSInput) > (/usr/lib/libgcj.so.6.0.0) > ...15 more This is a known limitation in the current GCJ in unstable. Michael -- Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html Join the community at http://planet.classpath.org/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]