Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

I am asking about internal operation...

 
sudharani Savadi
Ranch Hand
Posts: 30
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
sudharani Savadi
Ranch Hand
Posts: 30
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for clearing my doubts.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic