1, download and install jdk1.8u45
Http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
General installation directory automatically created in: C:\Program files\java\jdk1.8.0_45
2, configure environment variables: generally choose to configure "system variables", do not choose to configure "User variables";
My Computer "Properties" advanced "environment variable" system variable-add "content as follows:
"Variable name": Java_home "Variable value": C:\Program files\java\jdk1.8.0_45
"Variable name": The Path frontend increment-"Variable value":%java_home%\bin;%java_home%\jre\bin;
"Variable name": CLASSPATH "Variable value":%java_home%\lib\dt.jar;%java_home%\lib\toos.jar;
3,editplus
Tools, configure user Tools tool, user tools
Group1 "renamed to (added)"
Group2 "renamed to (added)"
Problem:
1,cmd the Java command or the Javac command cannot be executed?
The environment variable should be configured correctly;
Restart cmd;
2,editplus error message: Cannot create a process?
Version issue, change command Java to: C:\Program Files\java\jdk1.8.0_45\jre\bin\java.exe
3, did not follow the feeling to go,
Two listings of D:\ and D:\4JAVA\08EditPlus_Code\01test1code
Two Java files Helloworld.java and Javaprogramenter.java files are stored
Cmd:
The. class file generated by the javac is stored in the directory where the Java program resides;
Java executes the results of Java programs in the D:\4JAVA\08EditPlus_Code\01test1code directory
EditPlus:
Javac generated. class files are stored in the D:\4JAVA\08EditPlus_Code\01test1code directory
Java executes the results of Java programs in the D:\4JAVA\08EditPlus_Code\01test1code directory
Ask for answers?????
Answer:
Cmd:
EditPlus:
Compile command javac problem solving, find Java file, right-click "Open Mode" Select EditPlus Open, need to run that Java file on the side, to ensure that the operation is the desired Java file, The generated. class file is naturally in the current directory, which is the same directory as the Java file;
Parsing commands Java is the same;
Java-1-java development environment Installation and configuration