问题描述
我下载了Windows 64位版本的Eclipse。我去了帮助|安装新软件...,并输入以下URL来获取WindowBuilder
开普勒4.3(4.4还没有链接)
在StackOverflow中,据说在安装新软件中键入开普勒。
我做到了,并受到惩罚它,但至少我可以转发图像。基本上,安装新软件...菜单选项和其他两个消失,新项目上没有WindowBuilder其他。
基本上,我认为Eclipse没有准备好黄金时段,有bug 。
我将尝试查找和下载集成版本。我记得以前一直这样做,但没有看到Eclipse的集成版本,所以我下载了我看到的东西。
(好的,我看到这个链接,我只是没有意识到那是那样的。)
/ p>
这个问题的答案与我提出的答案相同。我在这里复制答案。答案适用于32位或64位Eclipse。
安装说明
-
Eclipse IDE for Java Developers,而不是EE版本。
-
使用WinZip,7-Zip或其他任何内容提取文件,而不是Windows内置工具。有关此要求,请参阅Eclipse下载页面上的安装说明。注意:请勿将文件放在Windows 7上的C:\Program Files文件夹中。请参阅注意。
-
BEFORE 启动eclipse.exe ,转到环境设置并定义HOME变量并将其设置为%USERPROFILE%。您将需要注销,然后重新登录。Windows不会读取环境设置,而不执行此操作,因此Eclipse。
-
安装并在PATH变量中添加路径。
-
启动Eclipse。
-
转到菜单>帮助>安装新软件...并键入开普勒。从列表中选择SWT和WindowBuilder。它应该是prebundled,但没有,这样更好。您将需要重新启动Eclipse。
-
打开错误日志菜单> Windows>显示视图>错误日志以查看可能存在的任何其他错误
我仍然在使用EGit警告,但SWT存在。
我反复尝试了这些步骤(删除Eclipse文件夹并再次尝试),这些步骤在我尝试过的每一个时间工作。 Yay!
I downloaded the Windows 64-bit version of Eclipse.
I went to "Help | Install New Software..." and entered the following URL to get WindowBuilder.
Kepler 4.3 (4.4 does not have a link yet)http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3/
I then saw the following display:
The text of the error is:
Cannot complete the request. See the error log for details.
"WindowBuilder GroupLayout Support" will be ignored because a newer version is already installed.
"SWT Designer XWT Support (requires Eclipse WTP/WST)" will be ignored because a newer version is already installed.
"Swing Designer Documentation" will be ignored because a newer version is already installed.
"Swing Designer" will be ignored because a newer version is already installed.
"SWT Designer Documentation" will be ignored because a newer version is already installed.
"SWT Designer Core" will be ignored because a newer version is already installed.
"WindowBuilder Core UI" will be ignored because a newer version is already installed.
"SWT Designer SWT_AWT Support" will be ignored because a newer version is already installed.
"SWT Designer" will be ignored because a newer version is already installed.
"WindowBuilder Core Documentation" will be ignored because a newer version is already installed.
"WindowBuilder Core" will be ignored because a newer version is already installed.
"WindowBuilder Java Core" will be ignored because a newer version is already installed.
"WindowBuilder XML Core (requires Eclipse WTP/WST)" will be ignored because a newer version is already installed.
I am not allowed to continue.
Pressing cancel and then new project | Other yields no WindowBuilder.
At one point, on a previous installation attempt (I subsequently deleted the contents of the folder and recopied from the zip file.), I got the URL to work, but there was no SWT, just Swing and WindowBuilder. On that attempt, The "Install New Software..." and 2 other links disappeared from the Help menu, so I deleted everything, as I said. I then tried again, but keep seeing this error.
What newer version?
Thought:1. This morning I had jre 1.7 and jre 1.6 installed on my system, but did not see a point to jre 1.6, so I uninstalled the older version. I did restart the machine afterwards. I notice in the WindowBuilder versions column, see the image, that it says 1.6.1.43. I presume that has nothing to do with jre 1.7? The Window Preferences dialog shows jre 1.7, so I do not think so.
How do I get WindowBuilder/SWT/Swing to install on the 64-bit Eclipse?
UPDATE (will comment on comment shortly):I saw this article on StackOverflow, which said to type in Kepler in the install new software.
I did that and got punished for it, but at least I can forward the images. Basically, the "Install New Software..." menu option and two others disappear, and there is no WindowBuilder on the new project other.
Basically, I think that Eclipse is not quite ready for prime time and has bugs.
I will try to find and download the integrated version. I remember doing that once before, but did not see the integrated version at the eclipse download page, so I downloaded what I saw.
(Okay, I see that link. I just did not realize that was that.)
I am still new to Java programming, as I come from a Microsoft background.
The answer to this question is identical to the answer that I gave in question 22099190. I am copying the answer here. The answer applies to 32-bit or to 64-bit Eclipse.
Installation Instructions
Download 'Eclipse IDE for Java Developers', not the EE version.
Extract the files using WinZip, 7-Zip, or whatever, just not Windows built-in tool. See installation notes on Eclipse download page for this requirement. NOTE: DO NOT place files in the "C:\Program Files" folder on Windows 7. See here for note.
BEFORE starting eclipse.exe, go to the environment settings and define the HOME variable and set that to %USERPROFILE%. You will need to log out and then log back in. Windows will not read the environment settings without doing this set and as such Eclipse.
Install PortableGit-1.8.4-preview20130916 and add the path in the PATH variable.
Start Eclipse.
Go to "Menu > Help > Install New Software..." and type in kepler. Select the SWT and WindowBuilder from the list. It was supposed to come prebundled, but did not, better this way. You will need to restart Eclipse.
Turn on the error log, "Menu > Windows > Show View > Error Log" to see any other errors that might exist.
I am still working on the EGit warning, but SWT exists.
I tried these steps repeatedly (deleting Eclipse folder and trying again) and the steps worked each of the times that I tried it. Yay!
这篇关于在64位Eclipse上安装WindowBuilder的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!