After you've configured your JDK, start learning Java basics, and learn Java Platform standard Edition, Java Standards Edition,
Let us first understand the JRE, and Jdk,jre is the Java Runtime Environment, which contains the JVM (Java Virtual machine) and some class libraries run by Java
The JDK is an environment that contains some compilation tools to help develop with developers.
The first step is to create a new Notepad file, put it on the E-drive,
Modify the suffix name to change txt to Java and edit it
Explain the Code, class demo Create a new Java class
public static void Main (string[] args)
{
Main function, entry for program execution
System.out.print (string);//System printing method
println (string);//Line Wrap Print
}
Then run CMD.EXE
Entering the DOS interface, enter E: Carriage return
Javac 123.java Compiles a Java file, at which time a Java class file is generated under the E disk, Demo.class
Java demo is to run this file, this time our hello,world is printed out.
Javase (Hello,world) (ii)