如何在本地安装 eclipse 中的 jdt.core?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2550755/
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
How to install jdt.core in eclipse locally?
提问by Chris
I'm needing to install the eclipse JDT.Core plugin locally (eg download the file with site.xml etc), as opposed to installing it remotely due to the horrible firewall at work. Can anyone suggest where to download it so i can do the local install? Thanks
我需要在本地安装 eclipse JDT.Core 插件(例如下载带有 site.xml 的文件等),而不是由于可怕的防火墙在远程安装它。谁能建议在哪里下载它以便我可以进行本地安装?谢谢
采纳答案by VonC
I am not sure I ever saw an installation of jdt.core, since it is included in most of the eclipse distros (either Eclipse 3.5 Galileoor Eclipse 3.6 Helios)
我不确定我是否见过 jdt.core 的安装,因为它包含在大多数Eclipse发行版(Eclipse 3.5 Galileo或Eclipse 3.6 Helios)中
That being said, the jdt coreupdate site is part of the global Eclipse update sites, and I don't think you can easily download just the jdt.core part.
话虽如此,jdt 核心更新站点是全球 Eclipse 更新站点的一部分,我认为您无法轻松下载 jdt.core 部分。
The easiest way would still be to download a full distro with JDT already included in it.
最简单的方法仍然是下载已包含 JDT 的完整发行版。
回答by yomi
I assume you are using Aptana, well like VonC said I don't know if there is a JDT core download site link but I personally did something else that worked for me.
我假设您正在使用 Aptana,就像 VonC 所说的那样,我不知道是否有 JDT 核心下载站点链接,但我个人做了一些对我有用的其他事情。
on eclipse or aptana
在 eclipse 或 aptana 上
- Go to "Help", then go to "Install New Software", and the install dialog pops up.
- Click on the "Available Software Sites" link on the install dialog.
- Check on or copy "Eclipse Helios Update Site http://download.eclipse.org/releases/heliosEnabled" or just skip step 2 and copy and paste this link "http://download.eclipse.org/releases/helios"
- Add it and it gives your a list of softwares, go to "Programming Languages" and choose "Eclipse Java Development Tool"
- 转到“帮助”,然后转到“安装新软件”,会弹出安装对话框。
- 单击安装对话框中的“可用软件站点”链接。
- 检查或复制“Eclipse Helios 更新站点 http://download.eclipse.org/releases/heliosEnabled”或跳过第 2 步并复制并粘贴此链接“ http://download.eclipse.org/releases/helios”
- 添加它,它会为您提供一个软件列表,转到“编程语言”并选择“Eclipse Java 开发工具”
Hope it works for you
希望这对你有用
回答by Damian
Go to Help > Install new software and add http://download.eclipse.org/releases/[your release e.g. indigo]
转到“帮助”>“安装新软件”并添加 http://download.eclipse.org/releases/[您的版本,例如 indigo]
Under the Programming Languages section, select Eclipse Java Development Tools.
在编程语言部分下,选择 Eclipse Java 开发工具。
Worked for me
对我来说有效
回答by Unni Kris
Find the jdt jar from the following location.
从以下位置找到 jdt jar。
http://www.findjar.com/jar/eclipse/jars/jdtcore-3.0.1.jar.html
http://www.findjar.com/jar/eclipse/jars/jdtcore-3.0.1.jar.html
Just add this to your project library.
只需将其添加到您的项目库中即可。
Enjoy !!!!
享受 !!!!