Resources on implementing my own JVM?

Posted on 2002-06-12
Last Modified: 2008-03-17

I want to implement my own JVM on a limited memory hardware device. The JVM will probably be more compact than that which is used in J2ME. Does anyone know of any great resources I could use for doing this? I'm kind of looking for a "how to write a JVM" book, web site and so forth.


Question by:matth012098
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 86

Accepted Solution

CEHJ earned 100 total points
ID: 7073289
You'll certainly need 'The Java Virtual Machine Specification' of Sun and a good book on the VM is Bill Venners' 'Inside the Java Virtual Machine'
LVL 35

Expert Comment

ID: 7073303
 The Java Virtual Machine specification is the first place to start:

  Hope it helps.
LVL 35

Expert Comment

ID: 7073307
 Sorry for the double URL... CEHJ ws faster :-)
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

LVL 19

Assisted Solution

by:Jim Cakalic
Jim Cakalic earned 100 total points
ID: 7076174
Sometimes complete working examples help; and there are several open-source JVMs available as references:

AFAIK, all of these are open source or licensed under a variant of the GPL or BSD licenses. Each is a working project that includes implementation of both a bytecode interpreter as well as core class libraries. Both of these are essential for a working VM.

An excellent reference for understanding JVM workings is the book "Inside the Java Virtual Machine" by Bill Venners. He also maintains a complementary website. In addition to excerpts from the book, there is a variety of resources that include interactive simulations that demonstrate JVM concepts, a number of articles originally published for the "Under the Hood" column at JavaWorld, and links to other resources that might be of use.

Best regards,
Jim Cakalic
LVL 35

Expert Comment

ID: 8860370
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this
question is:

- split points between CEHJ and jim_cakalic

Please leave any comments here within the
next seven days.


Cleanup Volunteer
LVL 19

Expert Comment

by:Jim Cakalic
ID: 8877810
OK by me.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

634 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question