1, before learning each language will be configured for the environment, that is, the environment required to run the program.
2, running Java program will install Java environment, Java is characterized by cross-platform, that is: can be run under different operating systems, Linux, Windows, Mac and so on. You can run a Java program as long as you install a different version of the virtual machine under a different operating system.
3, Java Operating environment is the JRE, the development environment is the JDK, as long as the JDK installed, the JDK includes the JRE environment. Download the JDK on the official website and install it directly. After the installation is done in the system environment variable configuration, so you can run the Java program directly under the DOS command, instead of going to the Java directory to run.
environment variable Configuration flow:
1, My Computer right-click Properties, click Advanced System Settings
Then select Advanced-Environment variable
Select path in the environment variable, and then edit
The Java directory (installation directory)
Write to path, which is the front of the cursor, separated by semicolons
Be sure. environment variable configuration to facilitate running Java programs later
Java Learning Environment Configuration