简体   繁体   English

在64位Eclipse上安装WindowBuilder

[英]Installing WindowBuilder on 64-bit Eclipse

I downloaded the Windows 64-bit version of Eclipse. 我下载了Windows 64位版本的Eclipse。

I went to "Help | Install New Software..." and entered the following URL to get WindowBuilder. 我转到“帮助|安装新软件...”,并输入以下URL以获取WindowBuilder。

Kepler 4.3 (4.4 does not have a link yet) http://download.eclipse.org/windowbuilder/WB/release/R201309271200/4.3/ 开普勒4.3(4.4没有链接) 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. 其他不产生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. 有一次,在先前的安装尝试中(我随后删除了文件夹的内容并从zip文件中复制了该文件。),我可以使用该URL,但是没有SWT,只有Swing和WindowBuilder。 On that attempt, The "Install New Software..." and 2 other links disappeared from the Help menu, so I deleted everything, as I said. 在这种尝试下,“安装新软件...”和其他2个链接从“帮助”菜单中消失了,因此,正如我所说,我删除了所有内容。 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. 思想:1.今天早上,我在系统上安装了jre 1.7和jre 1.6,但是没有看到指向jre 1.6的提示,因此我卸载了旧版本。 I did restart the machine afterwards. 之后我确实重启了机器。 I notice in the WindowBuilder versions column, see the image, that it says 1.6.1.43. 我注意到在WindowBuilder版本列中,看到的图像是1.6.1.43。 I presume that has nothing to do with jre 1.7? 我认为与jre 1.7无关吗? The Window Preferences dialog shows jre 1.7, so I do not think so. “窗口首选项”对话框显示jre 1.7,所以我不这么认为。

在此处输入图片说明

How do I get WindowBuilder/SWT/Swing to install on the 64-bit Eclipse? 如何在64位Eclipse上安装WindowBuilder / SWT / Swing?

UPDATE (will comment on comment shortly): I saw this article on StackOverflow, which said to type in Kepler in the install new software. 更新(稍后将对评论发表评论):我在StackOverflow上看到了这篇文章该文章说在安装新软件时输入Kepler。

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. 基本上,“安装新软件...”菜单选项和另外两个菜单选项消失了,其他新项目上没有WindowBuilder。

在此处输入图片说明

在此处输入图片说明

Basically, I think that Eclipse is not quite ready for prime time and has bugs. 基本上,我认为Eclipse尚不能为黄金时间做好准备,并且存在错误。

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. 我记得以前曾经做过,但是在eclipse 下载页面上看不到集成版本,因此我下载了所见内容。

(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. 我仍然是Java编程的新手,因为我来自Microsoft。

The answer to this question is identical to the answer that I gave in question 22099190 . 该问题的答案与我在问题22099190中给出的答案相同。 I am copying the answer here. 我在这里复制答案。 The answer applies to 32-bit or to 64-bit Eclipse. 答案适用于32位或64位Eclipse。

Installation Instructions 安装说明

  1. Download 'Eclipse IDE for Java Developers', not the EE version. 下载 “面向Java开发人员的Eclipse IDE”,而不是EE版本。

  2. Extract the files using WinZip, 7-Zip, or whatever, just not Windows built-in tool. 使用WinZip,7-Zip或其他方法(不是Windows内置工具)提取文件。 See installation notes on Eclipse download page for this requirement. 有关此要求,请参阅Eclipse下载页面上的安装说明。 NOTE: DO NOT place files in the "C:\\Program Files" folder on Windows 7. See here for note. 注意: 不要将文件放置在“C:\\ Program Files文件”文件夹,在Windows 7上看看这里做笔记。

  3. BEFORE starting eclipse.exe, go to the environment settings and define the HOME variable and set that to %USERPROFILE%. 启动eclipse.exe 之前 ,请转到环境设置并定义HOME变量,然后将其设置为%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. 您将需要注销,然后重新登录。Windows将不会读取环境设置,除非您进行此设置,例如Eclipse。

  4. Install PortableGit-1.8.4-preview20130916 and add the path in the PATH variable. 安装PortableGit-1.8.4-preview20130916并将路径添加到PATH变量中。

  5. Start Eclipse. 启动Eclipse。

  6. Go to "Menu > Help > Install New Software..." and type in kepler. 转到“菜单>帮助>安装新软件...”,然后输入kepler。 Select the SWT and WindowBuilder from the list. 从列表中选择SWT和WindowBuilder。 It was supposed to come prebundled, but did not, better this way. 它本来应该是预先捆绑在一起的,但这种方式并没有更好。 You will need to restart Eclipse. 您将需要重新启动Eclipse。

  7. Turn on the error log, "Menu > Windows > Show View > Error Log" to see any other errors that might exist. 打开错误日志,“菜单> Windows>显示视图>错误日志”以查看可能存在的任何其他错误。

I am still working on the EGit warning, but SWT exists. 我仍在处理EGit警告,但是SWT存在。

I tried these steps repeatedly (deleting Eclipse folder and trying again) and the steps worked each of the times that I tried it. 我反复尝试了这些步骤(删除Eclipse文件夹,然后重试),并且这些步骤在我尝试过的所有时间都有效。 Yay! 好极了!

Install the newest version of eclipse (Eg Luna) (Fine for EE too). 安装最新版本的eclipse(例如Luna)(也适用于EE)。

Install the WindowBuilder plug-in through help->Install new software by providing the link " http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2 ". 通过提供链接“ http://dl.google.com/eclipse/inst/d2wbpro/latest/4.2 ”,通过help-> Install new software安装WindowBuilder插件。

Update the plug-in through Help->Check for updates. 通过帮助->检查更新来更新插件。

Cheers. 干杯。 :) :)

Shevon Silva. 谢文·席尔瓦(Shevon Silva)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM