Eclipse 3.7 3.x SWT/Jface Development Environment setup

Source: Internet
Author: User

Original http://blog.csdn.net/kimsoft/article/details/7239651

1. Preparations

1.1 download eclipse

Http://www.eclipse.org/downloads/

The current version is eclipse-jee-indigo-SR1-win32

Decompress to d: \ java \ ide \ eclipse-jee-indigo-SR1-win32

1.2 download swt

Http://eclipse.org/swt/

Download the win32 version. The result is a zip file.

2. Import the org. eclipse. swt Project

Run eclipse and click

File-> import-> general-exsiting projects to workspace-> next-> select archive file-> select the downloaded file-Click browse, and the project org. eclipse. swt-> next

Imported

3. Create a SWT Project

File-> new-> javaproject...

Right-click Project properties-> java build path-> projects-> click add to add the org. eclipse. swt project.

OK. You can write the SWT program.

4. Added Jface support

Same as 3

Properties-> java build path-> Libraries-> add external JARs .. or Add Library

Add the following jar package: (find the jar package in the plugins subdirectory of the eclipse installation directory)

Org. eclipse. core. commands_xxx.jar

Org. eclipse. core. runtime_xxx.jar

Org. eclipse. equinox. common_xxx.jar // must be added. Otherwise, java. lang. NoClassDefFoundError: org/eclipse/core/runtime/IProgressMonitor will be reported.

Org. eclipse. jface_xxx.jar

Org. eclipse. jface. text_xxx.jar

Org. eclipse. osgi_xxx.jar

Add

Org. eclipse. jface. nl1_3xx.jar

See http://www.cnblogs.com/jifeng/archive/2011/10/15/2213615.html

OK

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.