Eclipse installation and plug-in Installation

Source: Internet
Author: User
This section describes how to install and configure plug-ins in Eclipse in windows. Eclipse is an IDE tool developed by Java and must be supported by the Java Runtime Environment, the latest eclipse3.3 requires jdk 1.5 or later.
1. Download and install Eclipse
Go to the eclipse homepage www.eclipse.orgto find the latest eclipse-sdk-3.3-win32.zip file.
Decompress eclipse-sdk-3.3-win32.zip to a directory. If decompressed to D:/, a d:/eclipse folder is generated. This is the eclipse folder;
Run d:/eclipse/eclipse.exe to start an Eclipse.
Ii. Plug-in Installation Method
Take swt-designer plug-in installation as an example (assume that you have downloaded the swt-designer plug-in WBPro_v6.4.0_for_Eclipse3.3.zip ).
(1) intrusive plugin installation method
Eclipse plug-ins actually have a directory specification such as eclipse, eclipse/features, and eclipse/plugins. It is also very easy to install. Here, we may call it an "intrusive plug-in installation method ".
The "intrusive plugin installation method" is to simply copy eclipse/features and eclipse/plugins in the plugin to the eclipse/features and eclipse/plugins in the eclipse installation directory, this installation method has a serious defect, that is, it cannot be uninstalled after installation, and the installation process is irreversible. It is impossible to flexibly configure and manage the installed plug-ins.
Decompress the downloaded swt-designer plug-in WBPro_v6.4.0_for_Eclipse3.3.zip and decompress the plug-in to a directory where it is assumed that the directory structure of the D:/myplugins directory folder is as follows:
WBPro_v6.4.0_for_Eclipse3.3.zip
Features
Plugins
Copy the decompressed items in the features and plugins directories to eclipse/features and eclipse/plugins in the eclipse installation directory.
(2) non-intrusive plug-in Installation Method
"Non-intrusive installation" is the links installation method. The following describes how to install
Non-Intrusive installation can also be divided into two types: absolute path installation method and relative path installation method. First, check the installation method of the absolute path.
During the plugin installation process, we extract the plug-in wbpro_v6.4.0_for_eclipse3.zip to a local Directory D:/myplugins. the directory structure of the directory folder is as follows:
WBPro_v6.4.0_for_Eclipse3.3.zip
Eclipse [Note: the eclipse folder is created by myself, so as to comply with the directory specification eclipse, eclipse/features, eclipse/plugins]
Features
Plugins

Required) WBPro6.4EC3.3. link, content:
Path = D:/myplugins/WBPro6.4EC3.3. The path Delimiter is "/" or "/". In this way, the plug-in is installed.
The above is the "non-intrusive absolute path plug-in installation" method. The following describes how to change the absolute path to relative so that eclipse does not depend on the absolute path. This is the advantage of relative path installation.
During the installation process in the absolute path, we create a new links and myplugins folder under the Directory D:/eclipse, and decompress the plug-in wbpro_v6.4.0_for_eclipse3.3.zip to D:/Eclipse/myplugins. The directory structure remains unchanged. Then, modify the new file wbpro6.4ec3.3. Link in the links directory, with the following content: Path = myplugins/wbpro_v6.4.0_for_eclipse3.3.
Note the following when installing the relative path: the plug-in directory myplugins must be built under the eclipse installation directory and can be named at will. It is best to put all the plug-ins in this directory for ease of management ), each plug-in corresponds to a text configuration file in the links directory. The links directory name can only be links.
The installation process is clear. In addition, some plug-ins are installed online, which is a different case. However, I strongly recommend you use the links installation method.
3. Start eclipse
Sometimes you may encounter plug-ins that cannot be installed in eclipse after the plug-ins are installed. You can follow the steps below to solve the problem:
Run the CMD command to go to the installation path of eclipse. Enter the command: eclipse-clean, and then start eclipse. then, double-click eclipse.exe without starting from Dos.

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.