Eclipse Configuration steps

Source: Internet
Author: User

1 , Windows - Preferences - Server - Runtime Environments

2 , " ADD "button, select Tomcat v6.0

3 , Tomcat installation directory on the right. Browse , select Tomcat installation directory, JRE Select jdk1.6.0_30

4 , JRE on the right. installed JREs

5 JDK - directgry path c:\program files\ Java\jdk1.6.0_30

6 , create a server file - new - others - server - apache - tomcat6.0 - browse select tomcat installation path

7 , the following window Server Middle Right- Start

8 , the Web items added to this servlet , right- Add and remove

9 , create dynamic Web projec default output folder webcontent\web-inf\classes e:/java/ How to eclipes dev web project

9.1windows->preferences->general->workspace Right side Text File Encoding , select Other , change to UTF-8

10.

We often put other people's projects Copy two times to develop or refer to yourself here. Hint httpservletrequest cannot reference

Action:

Add Library--Server Runtime->next, Project->properties, Java Build Path Choose your Finish, Server

of the imported Project JDK different versions, changing the cost of the machine JDK

Alt+enter-javabuild Path, Add library->jar system Library


11, Stack, memory overflow

Select Run Configurations

Added at the end, note: spaces

-xms512m-xmx1024m-xx:permsize=256m-xx:maxpermsize=512m

12.

Eclipse Operation Skills

withalt+/manual control of Automatic prompting (recommended)Window->preferences->general->keysFindContent Assist, FirstRemove Binding (Remove Bindings),and thenBinding(Press thealt+/) whenChooseEditing Textwe can,OK

Alt +/ automatically bring out code

13. cannot put other items in the folder Copy come on, error. is out of sync with file system

Select Item -f4 Refresh







Eclipse Configuration steps

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.