java 我在哪里下载java包?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6964686/
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-10-30 18:03:06  来源:igfitidea点击:

Where do I download java packages?

javadownloadinstallpackages

提问by Something Anonymous

I'm trying to import this package

我正在尝试导入这个包

import org.eclipse.swt.browser.*;

So that I can use Eclipse's browser widget, but I can't find out where to download the package, and I don't know how to install it either.

这样我就可以使用Eclipse的浏览器小部件了,但是我找不到包的下载地址,也不知道如何安装。

回答by dee-see

See this pageon how to import the SWTlibrary in your workspace.

有关如何在工作区中导入库的信息,请参阅此页面SWT

Generally, you'll find packages as .jarfiles on the developer's website. The Eclipse tutorialhas a section on how to add external jars to your buildpath.

通常,您会.jar在开发人员的网站上找到作为文件的包。在Eclipse的教程对如何将外部罐添加到您的构建路径的部分。

回答by Christopher Armstrong

You can find download links and installation instructions at http://www.eclipse.org/swt/

您可以在http://www.eclipse.org/swt/找到下载链接和安装说明