File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Customer Requirements for Developers this week in the Jobs Discussion 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: 43399
    
  32
Try the BCEL handbook.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14917
    
  26

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 8 API documentation
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: 43399
    
  32
You're welcome
 
jQuery in Action, 3rd edition
 
subject: How Java Compiler and JVM Works
 
It's not a secret anymore!