Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328613

Summary: When I start eclipse with my mac , immediatelly it crashes...
Product: [Eclipse Project] Platform Reporter: Ivan <ivan.ghislenI>
Component: SWTAssignee: Project Inbox <swt-triaged>
Status: RESOLVED WORKSFORME QA Contact: Scott Kovatch <skovatch>
Severity: critical    
Priority: P3 CC: lshanmug, remy.suen, skovatch
Version: 4.1   
Target Milestone: ---   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:
Attachments:
Description Flags
Error log Eclipse cocoa none

Description Ivan CLA 2010-10-25 10:37:06 EDT
Build Identifier: Mac: problem istallation Eclipse carbon

Hi to everybody

I have problem with eclipse on my macbook white.
It's the 1st time I install eclipse on mac cause I always used eclipse on Win XP and I never had problem with it.

Someone can help me?

This is the Eclipse Error log (Eclipse Carbon):

Eclipse log.......


!SESSION 2010-10-22 16:44:51.340 -----------------------------------------------
eclipse.buildId=I20050627-1435
java.version=1.6.0_22
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=it_IT
Framework arguments: -keyring /Users/ivanghisleni/.eclipse_keyring -showlocation
Command-line arguments: -os macosx -ws carbon -arch ppc -keyring /Users/ivanghisleni/.eclipse_keyring -consoleLog -showlocation

!ENTRY org.eclipse.osgi 2010-10-22 16:44:55.152
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: /Users/ivanghisleni/Desktop/eclipse/configuration/org.eclipse.osgi/bundles/63/1/.cp/libswt-pi-carbon-3138.jnilib: no suitable image found. Did find: /Users/ivanghisleni/Desktop/eclipse/configuration/org.eclipse.osgi/bundles/63/1/.cp/libswt-pi-carbon-3138.jnilib: mach-o, but wrong architecture
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1823)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1712)
at java.lang.Runtime.loadLibrary0(Runtime.java:823)
at java.lang.System.loadLibrary(System.java:1045)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
at org.eclipse.swt.internal.carbon.OS.<clinit>(OS.java:20)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:856)
at org.eclipse.swt.widgets.Display.create(Display.java:836)
at org.eclipse.swt.graphics.Device.<init>(Device.java:118)
at org.eclipse.swt.widgets.Display.<init>(Display.java:676)
at org.eclipse.swt.widgets.Display.<init>(Display.java:667)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:394)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:155)
at org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDEApplication.java:128)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:79)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948) 

Reproducible: Always

Steps to Reproduce:
1.start eclipse
2.chash
Comment 1 Paul Webster CLA 2010-10-25 10:38:50 EDT
You must make sure your download of eclipse matches your JRE (i.e. 32 bit or 64 bit).

PW
Comment 2 Remy Suen CLA 2010-10-25 10:42:57 EDT
(In reply to comment #0)
> eclipse.buildId=I20050627-1435

This is really old. Are you sure you wanted Eclipse 3.1.0?
Comment 3 Ivan CLA 2010-10-25 10:54:50 EDT
Created attachment 181645 [details]
Error log Eclipse cocoa
Comment 4 Ivan CLA 2010-10-25 10:57:51 EDT
(In reply to comment #2)
> (In reply to comment #0)
> > eclipse.buildId=I20050627-1435
> 
> This is really old. Are you sure you wanted Eclipse 3.1.0?

There isn't a version problem cause I installed at the 1st time eclipse-SDK-3.6-macosx-cocoa-x86_64.tar but as you can see the problem is the same.....

I don't kwon what to do and I don't want emulate windows only to run eclipse.

I added the new error log

Tnx
Comment 5 Remy Suen CLA 2010-10-25 11:10:07 EDT
(In reply to comment #4)
> There isn't a version problem cause I installed at the 1st time
> eclipse-SDK-3.6-macosx-cocoa-x86_64.tar but as you can see the problem is the
> same.....

Actually, the errors displayed in the log files are not the same.

Bug 301815 may be of assistance to you.
Comment 6 Ivan CLA 2010-10-25 11:51:06 EDT
(In reply to comment #5)
> (In reply to comment #4)
> > There isn't a version problem cause I installed at the 1st time
> > eclipse-SDK-3.6-macosx-cocoa-x86_64.tar but as you can see the problem is the
> > same.....
> 
> Actually, the errors displayed in the log files are not the same.
> 
> Bug 301815 may be of assistance to you.

May be I solved the problem....

I created a new user and istalled Eclipse and like in a miracle it run.
I think there is a conflict between eclipse and "I don't know" It can be Aptana?
 
Tnx a lot for the help
Comment 7 Scott Kovatch CLA 2010-10-25 12:03:05 EDT
(In reply to comment #6)
> May be I solved the problem....
> 
> I created a new user and istalled Eclipse and like in a miracle it run.
> I think there is a conflict between eclipse and "I don't know" It can be
> Aptana?
> 
> Tnx a lot for the help

Based on that, it sounds like you had changed around the order of Java VMs in Java Preferences.app or the prefs file that stores the VM information was corrupted.

/usr/libexec/java_home -V

will tell you what Java versions are installed and will help you figure out which one Eclipse is trying to use.
Comment 8 Ivan CLA 2010-10-25 12:06:15 EDT
(In reply to comment #7)
> (In reply to comment #6)
> > May be I solved the problem....
> > 
> > I created a new user and istalled Eclipse and like in a miracle it run.
> > I think there is a conflict between eclipse and "I don't know" It can be
> > Aptana?
> > 
> > Tnx a lot for the help
> 
> Based on that, it sounds like you had changed around the order of Java VMs in
> Java Preferences.app or the prefs file that stores the VM information was
> corrupted.
> 
> /usr/libexec/java_home -V
> 
> will tell you what Java versions are installed and will help you figure out
> which one Eclipse is trying to use.

Matching Java Virtual Machines (2):
    1.6.0_22-b04-307, x86_64:	"Java SE 6"	/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
    1.6.0_22-b04-307, i386:	"Java SE 6"	/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
Comment 9 Lakshmi P Shanmugam CLA 2011-05-31 10:30:17 EDT
(In reply to comment #6)
> (In reply to comment #5)
> > (In reply to comment #4)
> > > There isn't a version problem cause I installed at the 1st time
> > > eclipse-SDK-3.6-macosx-cocoa-x86_64.tar but as you can see the problem is the
> > > same.....
> > 
> > Actually, the errors displayed in the log files are not the same.
> > 
> > Bug 301815 may be of assistance to you.
> 
> May be I solved the problem....
> 
> I created a new user and istalled Eclipse and like in a miracle it run.
> I think there is a conflict between eclipse and "I don't know" It can be
> Aptana?
> 
> Tnx a lot for the help

Is the reported problem is solved for you?
Comment 10 Lakshmi P Shanmugam CLA 2011-06-06 04:14:15 EDT
Closing bug report, please reopen if the problem is not fixed for you.