Myeclipse installation, configuration and precautions

Source: Internet
Author: User

1. Install JDK

Configure environment variables after installation

New in System Variables

A. java_home (Case Insensitive): c: \ Program Files \ Java \ jdk1.6.0 _ 25 JDK installation path does not end with a semicolon

B. classpath :.; % java_home % \ Lib; % java_home % \ Lib \ tools. jar; % catalina_home % \ common \ Lib \ servlet-api.jar note % java_home % before there is ".; "must not be forgotten

C. Path: % java_home % \ bin; % java_home % \ JRE \ bin; % catalina_home % \ bin JDK and JRE path. If there are several items, add a semicolon, add a semicolon at the end of a row

Debug: Open CMD and enter javac. If a prompt message is displayed, the JDK is not fully installed or the environment variable configuration is incorrect.

 

2. install Apache Tomcat

Copy the Tomcat folder to the disk. It can not be placed in disk C.

Create in environment variables:

A. tomcat_home: D: \ apache-Tomcat-6.0.30

B. catalina_base: D: \ apache-Tomcat-6.0.30.

C. catalina_home: D: \ apache-Tomcat-6.0.30

D. Add:; % catalina_home % \ bin at the end of the row in Path

 

3. Set preferences: Enter window-> preferences and enter what you want to configure in the Type Filter text filter.

A,Set the default global JRE:

Window-> preferences-> JAVA-> installed jresIn this way, the default JRE library is the selected item each time you create a project.

B,Set the global encoding of the Workspace:Set UTF-8

Window-> preferences-> General-> text file encoding in Workspace select other and select UTF-8

C,Modify the default file encoding:

Window-> preferences-> General-> content types

D,Set the registration code:

Window-> preferences-> myeclipse-> subscribe

E. Set Tomcat

F. Set the automatic prompt

Window-> preferences-> JAVA-> Editor-> content assist

Add "." Next to auto activation triggers for Java and then apply OK

After file-> export-> General-> preferences, click Next export all to the location you want to go to, for example, desktop: text. EPF. use NotePad to open the search. ABC to ". abcdfeghijklmnopqrstuvwxyz (, "and then enter myeclipse in the import process to complete the smart prompt function./** enter the letter string and the symbol because you need to search for it */

 

Generally, the configuration is complete.

 

4. Install the links plugin

A. Create the myplungins folder at any location (the name can be set at will), and place the plug-in the format of myplungins \ eclipse \ plug-in name under this folder.

B. Create a text file under the links folder under the eclipse folder, whose content is Path = plug-in path (for example, D: myplungins \ eclipse \ spket)

C. Restart eclipse and configure the plug-in preference.

 

 

PS: Eclipse writesProgramOnce the maximum memory is exceeded, the program cannot run. In this case, you need to change the maxpermsize.

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.