Bug 111579 - errors with trying to use eclipse in a linux64 environment
Summary: errors with trying to use eclipse in a linux64 environment
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: vm
Depends on:
Blocks:
 
Reported: 2005-10-05 06:06 EDT by Greg CLA
Modified: 2005-12-02 14:55 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Greg CLA 2005-10-05 06:06:49 EDT
Hi,
  I just downloaded and ran eclipse (just java -jar startup.jar) in a linux64
environment (Ubuntu development) and am having all sorts of errors such that I
can't get started working on a project. I have tried setting up a project using
CVS- although I can connect to my server I can't see a list of projects (I have
tried doing this on another computer with Eclipse and everything works fine).
However, sometimes I cannot even get past the "Enter Repository Location
Information" page (I press next, it seems to be trying to connect and then just
reloads the "Enter Repository Location Information" page). 
  I have tried to create a project but none of the windows open up (the windows
that on other computers will open up right after you have created a project). I
have even tried to create just a plain .java file and got the following error:

Unable to create this part due to an internal error. Reason for the failure: The
editor class could not be instantiated. This usually indicates that the editor's
class name was mistyped in plugin.xml.

with the details being

java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String,
boolean) (Unknown Source)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String)
(Unknown Source)
   at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(java.lang.String,
boolean) (Unknown Source)
   at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
   at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(java.lang.String)
(Unknown Source)
   at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(java.lang.String,
boolean) (Unknown Source)
   at
org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(java.lang.String)
(Unknown Source)
   at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(org.osgi.framework.Bundle,
java.lang.String, java.lang.Object,
org.eclipse.core.internal.registry.ConfigurationElement, java.lang.String)
(Unknown Source)
   at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(java.lang.String,
java.lang.String, java.lang.Object,
org.eclipse.core.internal.registry.ConfigurationElement, java.lang.String)
(Unknown Source)
   at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(java.lang.String)
(Unknown Source)
   at
org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(java.lang.String)
(Unknown Source)
   at org.eclipse.ui.internal.WorkbenchPlugin$1.run() (Unknown Source)
   at
org.eclipse.swt.custom.BusyIndicator.showWhile(org.eclipse.swt.widgets.Display,
java.lang.Runnable) (Unknown Source)
   at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(org.eclipse.core.runtime.IConfigurationElement,
java.lang.String) (Unknown Source)
   at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor() (Unknown
Source)
   at
org.eclipse.ui.internal.EditorManager.createPart(org.eclipse.ui.internal.registry.EditorDescriptor)
(Unknown Source)
   at org.eclipse.ui.internal.EditorReference.createPartHelper() (Unknown Source)
   at org.eclipse.ui.internal.EditorReference.createPart() (Unknown Source)

these seem like pretty serious bugs

thanks, Greg
Comment 1 Philipe Mulet CLA 2005-10-05 06:16:47 EDT
Too many issues to simply be bugs IMHO.

Is your installation corrupted ? Aren't these VM issues ? Also see bug 71987
Comment 2 Philipe Mulet CLA 2005-10-05 06:18:05 EDT
Passing onto UI component, which owns the editor piece.
Comment 3 Dani Megert CLA 2005-10-09 13:59:40 EDT
Maybe you downloaded and installed over an existing release? In addition please
use the provided launcher to start eclipse instead of doing it directly using
java.exe. Also verify that you downloaded Eclipse SDK and not Platform SDK.

See also:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-text-home/development/bug-incomplete.htm
Comment 4 Douglas Pollock CLA 2005-10-18 10:11:19 EDT
It's not clear which version of Ubuntu you are running, but Eclipse should 
work with GCJ 4.0 or higher.  If you are having problems of this sort, it is 
likely an Ubuntu packaging problem either with GCJ or Eclipse.  You might want 
to check out 
"https://launchpad.net/distros/ubuntu/+sources/eclipse/+bug/3074", as it seems 
somewhat similar. 
Comment 5 melanie.dubois CLA 2005-12-02 14:55:06 EST
Hi Greg,

I had the same problem while running eclipse on jdk 1.4 but when I installed jdk 1.5 everything was working fine. I hope this solves your problem in case it wasn't already solved.

Melanie

(In reply to comment #0)
> Hi,
>   I just downloaded and ran eclipse (just java -jar startup.jar) in a linux64
> environment (Ubuntu development) and am having all sorts of errors such that I
> can't get started working on a project. I have tried setting up a project using
> CVS- although I can connect to my server I can't see a list of projects (I have
> tried doing this on another computer with Eclipse and everything works fine).
> However, sometimes I cannot even get past the "Enter Repository Location
> Information" page (I press next, it seems to be trying to connect and then just
> reloads the "Enter Repository Location Information" page). 
>   I have tried to create a project but none of the windows open up (the windows
> that on other computers will open up right after you have created a project). I
> have even tried to create just a plain .java file and got the following error:
> 
> Unable to create this part due to an internal error. Reason for the failure: The
> editor class could not be instantiated. This usually indicates that the editor's
> class name was mistyped in plugin.xml.
> 
> with the details being
> 
> java.lang.ClassNotFoundException:
> org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor
>    at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String,
> boolean) (Unknown Source)
>    at
> org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader.loadClass(java.lang.String,
> boolean) (Unknown Source)
>    at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
>    at
> org.eclipse.osgi.framework.internal.core.BundleLoader.loadClass(java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(java.lang.String,
> boolean) (Unknown Source)
>    at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(org.osgi.framework.Bundle,
> java.lang.String, java.lang.Object,
> org.eclipse.core.internal.registry.ConfigurationElement, java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(java.lang.String,
> java.lang.String, java.lang.Object,
> org.eclipse.core.internal.registry.ConfigurationElement, java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(java.lang.String)
> (Unknown Source)
>    at
> org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(java.lang.String)
> (Unknown Source)
>    at org.eclipse.ui.internal.WorkbenchPlugin$1.run() (Unknown Source)
>    at
> org.eclipse.swt.custom.BusyIndicator.showWhile(org.eclipse.swt.widgets.Display,
> java.lang.Runnable) (Unknown Source)
>    at
> org.eclipse.ui.internal.WorkbenchPlugin.createExtension(org.eclipse.core.runtime.IConfigurationElement,
> java.lang.String) (Unknown Source)
>    at org.eclipse.ui.internal.registry.EditorDescriptor.createEditor() (Unknown
> Source)
>    at
> org.eclipse.ui.internal.EditorManager.createPart(org.eclipse.ui.internal.registry.EditorDescriptor)
> (Unknown Source)
>    at org.eclipse.ui.internal.EditorReference.createPartHelper() (Unknown Source)
>    at org.eclipse.ui.internal.EditorReference.createPart() (Unknown Source)
> 
> these seem like pretty serious bugs
> 
> thanks, Greg