How Java Program Executes By Rajanikanth B www.btechsmartclass.com
Overview of total Process Create source code Generally it will be with .java extension. For example Sample.java Compile using ‘javac’ command It generates BYTECODE with .class extension (e.i. Sample.class) Execute using ‘java’ command It takes .class file & interprets into machine code by JVM. That machine code will be executed on the OS.
List of Errors …… Machine Code java Machine Code Source Code Compiler JVM Machine Code Windows OS java JVM Machine Code Source Code Compiler ByteCode UNIX OS java javac java JVM Machine Code MAC OS Sample.java Sample.class java JVM Machine Code List of Errors …… Mobile OS
JDK JRE JVM How it is Organized javac, javap, jar, debugging tools, etc., JRE java, javaw, Libraries, rt.jar, etc., JVM J I T Just In Time (Compiler)
Next…. Choosing Java Development Environment In Slide Show mode, click the arrow to enter the PowerPoint Getting Started Center.