Eclipse-Environmental Construction (Reminiscence)

JDK

Download jdk installation and configure environment variables Run java -version to see if the installation and configuration are successful

Eclipse

Download eclipse and unzip it directly to the directory

 

eclipse configure jre

set compile level

Eclipse-Tomcat configuration

Configure tomcat ( download tomcat in advance and decompress it), click add, select the tomcat directory, and configure the jre environment.

 Add tomcat server, File - "new - "other-" server, the Apache Tomcat v7.0 selected here is the tomcat just configured

 

After adding it, select Windows->Show View->Other to display the Server window, and then double-click the tomcat configuration parameter just added.

Configure the startup parameters, and add the java memory setting command in the red box to prevent memory overflow:

-Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=512m

Eclipse other common settings

eclipse default character set

eclipse add code prompt

.changed to .abcdefghijklmnopqrstuvwxyz

eclipse memory settings

In order to prevent memory overflow when eclipse starts running, modify the eclipse.ini file and add the following:

-Xms128m
-Xmx768m
-XX:permSize=64M
-XX:MaxPermSize=128M

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325158196&siteId=291194637