First, build the development environment
It feels good to learn python before using sublime, so use sublime to learn java.
Use the following search to find an Appendix 1 method for everyone in the Java development environment.
Second, determine the use of books
Java Core Programming
Appendix 1
The first step is to download the installation JDK and configure the system environment variables:(1) Add Java_home, the value is: C:\Program files\java\jdk1.7.0_13;(2) Edit path, add:%java_home%\bin;%java_home%\jre\bin(3) Add Classpath, the value is:; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar* * * Note Be sure to add the first semicolon, otherwise it might be wrong to compile the program times: the main class could not be found or could not be loaded The above is a generic configuration, the following is the sublime configuration:First, create a batch script Runjava.bat:
Copy the file to the bin directory of the JDK; Second, install the package Resource Viewer in Sublime, with the following steps:(1) ctrl+shift+p open the package control;(2) Enter the install package;(3) Search the package Resource Viewer and install it. The third step, modify the Javac.sublime-build:Installing the Package Resource Viewer is for this step. With the above steps, open the package control, enter Packageresourceviewer:open Resource, enter Java after carriage return, enter javac.sublime-build after entering, will be able to open the file we need to modify:change the first line of "Shell_cmd": Javac \ "$file \" "To" Shell_cmd ":" Runjava.bat \ "$file \" " Fourth Step, write a test program, using ctrl+b run, I used the test program as follows:
Java Fundamentals (Day 1)