1 , Java installation and configuration of the environment:
Installation of JDK:
JDK Download Link: http://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html
Install the basic default:
After installing the configuration environment variables:
1, the installation path of JAVA_HOME:JDK
2, PATH:JDK path/bin;jre path/bin;
Open command Line Input java–version if the installation is successful, you can view the version information of the installed JDK, or you will be prompted with an error
2. Use of Eclipse:
Eclipse does not need to be installed, it can be extracted directly.
Open the application to:
The first opening will make workspace: the location where the program is stored.
New---->other
The rest is basically the default when you create a Java Project Project entry name:
New Package packages under SRC (not recommended to build Java programs directly under SRC), then build Java program New->.class
Write Java program:
Add JUnit Libraries: Right-click Build Pathàadd librariesàjunit and then always default:
In the Java program, right-click the Newàjunit test case and select the class method to generate the test program automatically.
Codeing.net's Link: https://coding.net/u/zhaoyao666
Junity testing the maximum number of substrings and Java programs