开发者

Unable to install Eclipse IDE on my Mac

I'm trying to download Eclipse IDE for Android development. I've downloaded the setup but whenever I try to open the dmg it gives the an error saying:

"Can't open the application Eclipse because it is not supported on this type of Mac."

The Processor of my Mac is 1.83 GHz Intel Core Duo and version of my Mac OS X is 10.6.4.

I downloaded "Eclipse IDE for Java Developers" 4m http://www.eclipse.org/d开发者_如何学JAVAownloads/

Anyone have the idea about the problem?


Did you install a 64-bit version of Eclipse like in this thread?
If so, try a 32-bit instead.

The snowleopard.wikidot mentions Eclipse 3.5 being compatible, although:

May require installing Java 1.5 since SL actually only ships with Java 1.6


Regarding your configuration, zvikico adds in the comments:

AFAIK, the Core Duo is a 32 bit processor, not capable of running 64 bit at all.
Even if you install Snow Leopard.

First, you need the 32 bit version. Second, make sure 32 bit Java is your default. You can set it using an application called JavaPreferences, sitting in the /Applications/Utilities.

So:

  • check your Java and
  • download the Macosx Cocoa 32bits (eclipse-java-helios-macosx-cocoa.tar.gz)

Here are some installation tutorial (generally for 64-bit version, but can also be usefull for the 32-bit edition)

See Installing Eclipse Galileo on Mac OS X (can be applied to Helios)

Snow Leopard (10.6.x) Users

Download the Mac Cocoa 64-Bit version.

Again, the Carbon version is there in case you encounter compatibility issues with older plugins.

(not anymore with Helios: no Carbon version, only Cocoa)

The main reason you would want to use the 32-Bit version is because of plugins which are incompatible with 64-Bit.
This time, the 32-Bit version will waste your resources because you will cause the OS to start a whole bunch of 32-Bit services.

Read the original post for more details.

See also Java 1.6 & Eclipse on Mac OS X:

Initially, the latest version of Eclipse (3.5) was released only in 32-bit mode for bot:

  • Carbon (an older and deprecated Mac OS API) and
  • Cocoa (the modern Mac OS API).

Since Leopard only supported Java 1.6 in 64-bit mode, this meant that Eclipse was always running under Java 1.5. With the release of Eclipse 3.5.1, there are now 64-bit Cocoa downloads available, and these will run under Java 1.6.

Everyone apparently agrees that on Snow Leopard you want the 64-bit Cocoa version of Eclipse (unless you are on a 32-bit Intel Mac).


You probably downloaded a 32bit version although a 64bit is required or vice versa.


Thanks alot for your time VonC and zvikico. You guys are awesome.

I've downloaded Macosx Cocoa 32bits (eclipse-java-helios-macosx-cocoa.tar.gz), specified path for my Java in eclipse.ini file and set up 32-bit Java using "Java Preferences".

But the issue is still unresolved.

I'm sending below the content of my eclipse.ini file (the version of my java is 1.6.0_20):

-startup
../../../plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
../../../plugins/org.eclipse.equinox.launcher.cocoa.macosx_1.1.0.v20100503
-product
org.eclipse.epp.package.java.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6.0_20
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Xms40m
-Xmx384m
-Xdock:icon=../Resources/Eclipse.icns
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts


After trying to set up "Eclipse IDE for Java Developers" on my 32bit Mac and continuously failing in fixing it up for couple of days. I finally installed 32bit version of "Eclipse Classic 3.6.0" and Yeah it worked.

Thanx again VonC for all your time and support! =)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜