aspose file tools*
The moose likes Beginning Java and the fly likes I am asking about internal operation... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "I am asking about internal operation..." Watch "I am asking about internal operation..." New topic
Author

I am asking about internal operation...

sudharani Savadi
Ranch Hand

Joined: Feb 23, 2011
Posts: 30


javac filename(Lab1).java and java filename(Lab1)


How the JVM will process those two statements internally?.
please help me to understanding internal process by the JVM...
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14351
    
  22

javac is the compiler, which translates your source code into byte code. Byte code is a list of simple instructions that the JVM (Java Virtual Machine) can execute. The JVM contains a JIT (just-in-time) compiler that translates byte code into native machine code that the CPU in your computer can execute directly.

That is a high-level description; ofcourse there are a lot more details to understand if you really want to know exactly how the Java compiler and the JVM work.

This tutorial page explains more: About the Java Technology.

If you really want to know exactly how the JVM works, then you can download the source code (written in C or C++) from OpenJDK.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
sudharani Savadi
Ranch Hand

Joined: Feb 23, 2011
Posts: 30

Thank you for clearing my doubts.
 
jQuery in Action, 2nd edition
 
subject: I am asking about internal operation...