[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 344
  • Last Modified:

Resources on implementing my own JVM?

Hi

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.

Thanks

Matth
0
matth012098
Asked:
matth012098
  • 3
  • 2
2 Solutions
 
CEHJCommented:
You'll certainly need 'The Java Virtual Machine Specification' of Sun http://www.amazon.co.uk/exec/obidos/ASIN/0201432943/proteanit-20 and a good book on the VM is Bill Venners' 'Inside the Java Virtual Machine' http://www.amazon.co.uk/exec/obidos/ASIN/0071350934/proteanit-20
0
 
girionisCommented:
 The Java Virtual Machine specification is the first place to start: http://java.sun.com/docs/books/vmspec/

  Hope it helps.
0
 
girionisCommented:
 Sorry for the double URL... CEHJ ws faster :-)
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
Jim CakalicSenior Developer/ArchitectCommented:
Sometimes complete working examples help; and there are several open-source JVMs available as references:
    http://kissme.sourceforge.net/
    http://www.mozilla.org/projects/ef/
    http://www.japhar.org/
    http://www.sablevm.org/

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
0
 
girionisCommented:
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0
 
Jim CakalicSenior Developer/ArchitectCommented:
OK by me.
Jim
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now