如何在 Windows 7 64 位上安装 eclipse?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2306880/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:12:33  来源:igfitidea点击:

How can I install eclipse on Windows 7 64-bit?

eclipse

提问by paradise

Can anybody help me to install eclipse for windows 7 64 bit? I have eclipse 64 bit and jdk 64 bit but it doesn't work?

有人可以帮我为 Windows 7 64 位安装 eclipse 吗?我有 Eclipse 64 位和 jdk 64 位,但它不起作用?

回答by VonC

I do run eclipse without any problem, with a JDK6-64 bit on a Windows 7
(use the "Windows x64" Platform option of the Java SE download page).

我确实在 Windows 7 上
使用JDK6-64 位运行 eclipse 没有任何问题(使用Java SE 下载页面的“ Windows x64”平台选项)。

See my eclipse.inihere.
If your 'java -version' displays something like:

在这里查看我的eclipse.ini
如果您的“java -version”显示如下内容:

java -version
java version "1.6.0_18"
Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
Java HotSpot(TM) 64-Bit Server VM (build 16.0-b13, mixed mode)

, your eclipse should be able to launch itself without any problem.

,您的日食应该能够毫无问题地自行启动。

http://web.archive.org/web/20120916072909/http://img697.i_mageshack.us/img697/125/eclipseinstallationdeta.png

http://web.archive.org/web/20120916072909/http://img697.i_mageshack.us/img697/125/eclipseinstallationdeta.png

回答by user1692711

From a new Windows 7 installation, you should:

在新的 Windows 7 安装中,您应该:

  • Install Java SE 6 Update 35 jdk-6u35-windows-x64.exethen download and unzip eclipse-SDK-3.72-win32-x86_64.

  • If you are going to install Android tools, be sure to set your environment variable for JAVA_HOMEto the JRE directory (C:\Program Files\Java\jre6) not the JDK. You do this from Control Panel Home||Advanced system settings...System Properties|Advanced|Environment Variables.

  • 安装Java SE 6 Update 35 jdk-6u35-windows-x64.exe然后下载并解压eclipse-SDK-3.72-win32-x86_64

  • 如果要安装 Android 工具,请确保将环境变量设置为JAVA_HOMEJRE 目录 (C:\Program Files\Java\jre6) 而不是 JDK。您可以从控制面板主页||高级系统设置...系统属性|高级|环境变量中执行此操作。

回答by Dun0523

I managed to solve this issue, by :
->ensuring that i have a JRE installed
->Opened eclipse.ini with notepad or notepad++(or any note editor)
->type the following and save

-vm
C:\Program Files (x86)\Java\jdk1.7.0\bin\javaw.exe


it worked for me, hope it does for you too!!

回答by richj

You might find Eclipse runs better on JDK 1.5, particularly if you are not using the very latest versions of the 64-bit JDK and Eclipse Galileo.

您可能会发现 Eclipse 在 JDK 1.5 上运行得更好,特别是如果您没有使用最新版本的 64 位 JDK 和 Eclipse Galileo。

回答by thSoft

What is the exact version of your Eclipse and JDK? See also this pagefor the supported target environments.

您的 Eclipse 和 JDK 的确切版本是什么?另请参阅此页面以了解支持的目标环境。

回答by santhosh

I have downloaded eclipse for Windows 7, installed "eclipse-jee-helios-SR2-win32-x86_64.zip" from eclipse.org/downloads and got an error when tried to install it on th machine. Then I found JAVA is not installed on my m/c So I downloaded the suitable version for this O.S. and issue is resolved.

我已经下载了适用于 Windows 7 的 eclipse,从 eclipse.org/downloads 安装了“eclipse-jee-helios-SR2-win32-x86_64.zip”,并在尝试将其安装在这台机器上时出错。然后我发现我的 m/c 上没有安装 JAVA 所以我下载了适合这个操作系统的版本,问题解决了。

So check whether JAVA is installed on your m/c first... then try to install eclipse

所以先检查你的m/c上是否安装了JAVA...然后尝试安装eclipse

回答by Reento Pongrambu

Make sure your Java was installed first (look JDK & JRE at Java Folder on :\Program Files and or Program Files (x86). If not yet, you can download it from Java official page. Visit java.sun.com (now redirect to Oracle.com). If Java already installed on your system, please put your Eclipse folder on your system root (where Windows folder exist). Example C:\Eclipse. Last, install necessarily SDK (ex: Android, or Blackberry).

确保首先安装了 Java(在 Java 文件夹中查看 JDK 和 JRE:\Program Files 和/或 Program Files (x86)。如果还没有,您可以从 Java 官方页面下载它。访问 java.sun.com(现在重定向)到 Oracle.com。如果 Java 已经安装在您的系统上,请将您的 Eclipse 文件夹放在您的系统根目录(Windows 文件夹所在的位置)。例如 C:\Eclipse。最后,安装一定的 SDK(例如:Android 或 Blackberry)。

At glance: - Install Java SE (Standard Edition) SDK 6 (JDK 1.6), better install both 64 and 32 if you are running on Win 7 (64 Edition) - Put your Eclipse folder on system root, eg: C:\Eclipse - Run your Eclipse.exe

一目了然: - 安装 Java SE(标准版)SDK 6(JDK 1.6),如果你在 Win 7(64 版)上运行,最好同时安装 64 和 32 - 将你的 Eclipse 文件夹放在系统根目录下,例如:C:\Eclipse - 运行你的 Eclipse.exe

If Eclipse window not appear yet, please get another Eclipse package. The package may corrupt or have been modified.

如果 Eclipse 窗口还没有出现,请获取另一个 Eclipse 包。包可能已损坏或已被修改。