Java cognitive
Java is a cross-platform language compiler after the first run
java file by calling javac JVM execute compiled .class file, and then run the file through java java command
Java was developed by installing the JDK:
JDK range:
- JRE
- JVM: Java Virtual Machine
- Java core class libraries AOPI
- development tools
After you install the JDK folder usefulness:
bin: JDK directory command
conf: configuration files
lib: JDK nice jar package
include: java header files for other platforms
jmods: JDK various modules
legal: JDK authorization file
Meng knock first new Java file HelloWorld.java
1 class HelloWorld{ 2 public static void main(String[] args){ 3 System.out.println("HelloWorld!!!"); 4 } 5 }
Today to share here, flying !!!