This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes How Java Compiler and JVM Works Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How Java Compiler and JVM Works" Watch "How Java Compiler and JVM Works" New topic
Author

How Java Compiler and JVM Works

Usha Pnatha
Greenhorn

Joined: Aug 01, 2008
Posts: 27
Hello Ranchers,

I have some experience in Java programming. But actually I don't have the knowledge of the internal architecture of the language.
I have to learn about how objects are created, classes are loaded and all the behind the scene stuffs. How the compiler works and how the translation happens in the JVM and all.
My requirement is: when given a small Java SE program I should be able to interpret that code in the way compilers and JVM handles it. (some think like how it's stored in the runtime stack & all)

Please be kind enough to help me with some resources. This is for my university module - Object Oriented Programming Using Java

Thanks in Advance,

With Regards,
Usha
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38087
    
  22
Try the BCEL handbook.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

The Java Virtual Machine Specification contains a lot of details on how it all works behind the scenes.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Usha Pnatha
Greenhorn

Joined: Aug 01, 2008
Posts: 27
Thank you very much Campbell Ritchie & Jesper Young for the resources.
Those are very much useful to me.

Thanks a lot.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38087
    
  22
You're welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How Java Compiler and JVM Works
 
Similar Threads
JIT Compiler
Inside the JVM
Mr.dan's mock VS Mr. Marcus' mock VS scjp1.4 VS scjp1.2
how can we make a swing application executable for windows?
Finally Block