Beginner java environment and eclipse Basic settings, javaeclipse
Java Development Environment Settings:
1. Install the java Runtime Environment
Download Jdk and configure the JAVA_PATH path in the system environment variable to the Jdk Installation Directory D: \ jdk1.7.0 _ 51.
2. Add % JAVA_HOME % \ bin; % JAVA_HOME % \ jre \ bin; or % JAVA_HOME % \ bin at the starting position of the system variable ---> PATH variable --> edit ---->;
3. If the system variable ---> CLASSPATH variable ---> does not exist, create the variable CLASSPATH. Otherwise, select the variable ---> edit ---> Add the variable at the starting position .; % JAVA_HOME % \ lib \ dt. jar; % JAVA_HOME % \ lib \ tools. jar;
Run JAVAC. If many command prompts are displayed, the installation environment is successful!
File-> Properties-> UTF-8 Windows setup protocol and development system, code compatibility issues, this is a possible problem in Engineering.
Priject-> Properties-> Java Code Style-> Formatter
If the two projects have the same name. in the same development environment, modify. to change the project name, you must modify the name of the project. only the project name can be changed.
.
Right-click and choose Preferences> General> Appearance> Color and Forts> Text Font to adjust the Font.
Point to the left side of the Code, Show Line Number, can display row numbers
Window-> Preferences-> Java-> Editor-> Content Assist, there is an Auto activation trigger for java box followed by a dot, you can enter 26 uppercase and lowercase letters after the dot to prompt when you type the code.
Open Eclipse --> window --> preference ---> Content type ----> Text --> Html ----> Add
Set the file ending with another suffix to verify the style of the desired file. (To avoid Black Pages)