One, C + + development environment configuration
1. Download MinGW
2. Environment variable configuration, System properties, advanced settings, environment variables, if the MinGW installed in the C-drive directory, others think
(1) Add C:\MinGW\bin to the value of the PATH variable
(2) Adding C:\MinGW\lib to the value of the Library_path variable,
(3) Add C:\MinGW\include to the C_includede_path variable value
Use sublime Text3 to create a new C + + compilation system, set to the following code:
{ "cmd": ["g++", "${file}", "-O", "${file_path}/${file_base_name}"], "File_regex": "^ (.. [^:]*]:([0-9]+):? ([0-9]+)?:? (. *) $ ", " Working_dir ":" ${file_path} ", " selector ":" Source.c, source.c++ ", " encoding ":" cp936 ", " Shell ": True, " variants ": [ { " name ":" Run ", " cmd ": [" Start "," ${file_path}/${file_base_name} " . exe "]} ]}
Second, the Java Development environment configuration
1. Set the Java PATH variable
This is the first and most basic step to set up a store path for compiling and running Java Program basic commands such as Javac and Java.
To set the path path under Windows:
Right button "My Computer"
Select "Properties"
Enter Advanced system settings
Locate and click the Environment Variables button
Enter the system variable and locate the PATH variable
Paste the bin directory of the JDK to the end of the PATH variable value
For example, the bin path of your JDK is C:\Program files\java\jdk1.6.0_17\bin, paste the effect as shown:
2. Use sublime Text3 to create a new JAVA compilation system, set to the following code:
{ "cmd": ["Javac", "-encoding", "UTF-8", "-D", ".", "$file"], "File_regex": "^ (... *):( [0-9]*):? ([0-9]*) ", " selector ":" Source.java ", " encoding ":" GBK ", " variants ": [ { " name ":" Run ", "Shell": true, "cmd": ["Start", "cmd", "/C", "Java ${file_base_name}&pause"], "Working_dir": "${file_path}", "encoding": "GBK" } ]}
Sublime TEXT3 C + + and Java Development environment configuration