gpt4 book ai didi

java - 无法在我的 Mac 上安装 Eclipse IDE

转载 作者:搜寻专家 更新时间:2023-11-01 08:16:55 25 4
gpt4 key购买 nike

我正在尝试下载用于 Android 开发的 Eclipse IDE。我已经下载了安装程序,但每当我尝试打开 dmg 时,它都会显示一条错误消息:

“无法打开应用程序 Eclipse,因为这种类型的 Mac 不支持它。”

我的 Mac 处理器是 1.83 GHz Intel Core Duo,我的 Mac OS X 版本是 10.6.4。

我下载了“面向 Java 开发人员的 Eclipse IDE” 4m http://www.eclipse.org/downloads/

有人知道这个问题吗?

最佳答案

您是否像 this thread 中那样安装了 64 位版本的 Eclipse? ?
如果是这样,请尝试使用 32 位版本。

snowleopard.wikidot提到 Eclipse 3.5 是兼容的,尽管:

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


关于您的配置,zvikico在评论中添加:

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.

所以:


这里有一些安装教程(一般针对64位版本,但也可以用于32位版本)

参见 Installing Eclipse Galileo on Mac OS X (可应用于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.

(不再是 Helios:没有 Carbon 版本,只有 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.

阅读原帖了解更多详情。

另见 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).

关于java - 无法在我的 Mac 上安装 Eclipse IDE,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3581920/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com