Java Development Environment-Eclipse + MyEclipse plug-in

Source: Internet
Author: User

After the Java Runtime Environment is set up, see the blog on the article http://zjhkkxx.blog.51cto.com/2551440/1128460), it is necessary to select the development tool. In fact, we can use Notepad for development. Java is a text file, but it is easier to use IDE and get twice the result with half the effort. Of course, it is better to choose some common text editors for beginners, for example, Notepad ++, UltraEdit, and EditPlus can enhance the memory and improve the code writing capability. Eclipse is a very good IDE for Java development, but it cannot be used to develop Java Web applications directly. It requires the MyEclipse plug-in. Now, you can install MyEclipse directly. MyEclipse has all the functions of Eclipse, but we still recommend that you install the Eclipse + Myeclipse plug-in, because I feel that MyEclipse has too many plug-ins, running Speed and memory usage are all problems for my notebook), Eclipse is much more pure. Start ......

I. Eclipse

1. Download: Go to the Eclipse official website to download Eclipse, http://www.eclipse.org/, which should be available. When selecting the appropriate version, I chose Eclipse3.4.2. The new version is good, but I must consider the resource usage issue and I think 3.4.2 is enough.

2. download the file and decompress it to the specified directory, for example, D: \ Program Files \ eclipse.

Ii. MyEclipse

1. Download. For the same reason, the latest version is not selected. Select MyEclipse7.

Http://www.myeclipseide.com/may sometimes be inaccessible, can http://pan.baidu.com/share/link from here? Consumer id = 239005 & uk = 604205984 ),

2. install it on a disk, such as D: \ Program Files \ MyEclipse 7.0M1. If a catastrophic error occurs during the installation process, try to install it all by default or restart your computer. It's very easy. It will be OK after the next step.

3. In fact, MyEclipse can already develop Web applications at this time, but it is best to choose plug-in installation and continue ......

Iii. Plug-ins

1. find the MyEclipse installation directory, such as D: \ Program Files \ MyEclipse 7.0M1, and copy the eclipse folder under D: \ Program Files \ MyEclipse 7.0M1 \ eclipse \ dropins \ myeclipse \ in the directory, copy to the Eclipse installation directory, such as D: \ Program Files \ eclipse \ dropins folder, where the Eclipse dropins folder is generally placed as a plug-in)

Iv. Configuration

1. activation code: Because MyEclipse is charged, you need an activation code to register for activation. Baidu has an available activation code or the number of registrants for registration is poor =. = !).

2. associate JDK: Start Eclipse. You can see that the menu bar contains the myeclipse item, indicating that the plug-in is successfully installed ), choose window> preference> Java> Installed JREs. On the displayed page, click add on the right, select the JDK installation path, and click OK. Check the newly added JDK. It is best to remove or delete the default JRE)

3. associate Tomcat: Open the menu window> preference> MyEclipse Enterprise Workbench> servers> tomcat6. Select the single-choice button enable, set the following tomcat home directory to the installation path of tomcat 6 on the local machine.

4. Switch to the MyEclipse Java Enterprise perspective. In the following server window, you can see the newly added tomcat

5. Optimize settings. You can perform some optimization settings on Eclipse to speed up startup and reduce memory usage for convenient development. I will not go into details again. If you are interested, you can collect some information online. Or I will sort it out later.

This article is from the "snail on keyboard" blog, please be sure to keep this source http://zjhkkxx.blog.51cto.com/2551440/1129987

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.