1. Installing the JDK
Note that the installation to
2. Configure Environment variables:
Reference Answer:
Java_home
D:\Program files\java\jdk1.5.0_10
PATH
D:\Program Files\java\jdk1.5.0_10\bin
CLASSPATH
.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar; (Note the preceding dot and semicolon must not be lost, and the middle, the semicolon in the back should not be lost)
From
My actions:
Variable name: java_home
Value: D:\java\jdk1.8.0_20\
Variable name: CLASSPATH
Value:.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;
.;D: \ Java\jdk1.8.0_20\bin;
3. Test environment variables
Win+r
Cmd
Java
Javac
Java-version
4.notepad++ Configuration
Refer to:
Http://jingyan.baidu.com/article/a65957f4fedcc424e67f9bd1.html
5. Change the notpad++ encoding method
There are always some difficulties that people want to squalling, but patience will be solved. Xiao Ye is also to cattle people not ~ ~
Environment variables and notepad++ configuration--"Java"