• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Writing a jvm

 
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guys
i am planning to start work on writing my own jvm in whatever time i can find after work. But i dont know where to start from
Can any one of you please direct me to some good online resources which would be helpful in getting started
Cheers
Jayram
 
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The JavaTM Virtual Machine Specification

http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html
 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can download the source to the Sun JVMs from http://java.sun.com. You can look/make changes all you want as long as it's for academic/research purposes. And then there's the (open source) Blackdown port of the Sun JVM, at blackdown.org.
You might be interested in Kaffe, an open source JVM, even though it only supports up to Java 1.1: http://www.transvirtual.com/kaffe.htm
There are others too, like Japhar. See a list here: http://www.dwheeler.com/java-imp.html
 
jayram
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can anyone provide exact url for downloading source for suns jvm?
 
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Try inside JVM by Bill Venners. Its abs a great read. I always make it a point to read all his articles. He seems to be such a great writer and explains everything lucidly and to the point. You can verify what I said just by reading a couple of online chapters from his book from www.artima.com .
I'd say that gives an excellent start.

------------------
- Sathvathsan Sampath
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well I looked all over the Sun site, and I could not find anyplace to get the source for the JVM. They give you the source for the compiler with the source for the SDK, but not for java.exe itself.
So unless they have it REALLY hidden, I don't think you can get it.
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know it was available at one point in the past, but don't know if it still is. How annoying; I don't know if I saved the copy I downloaded long ago.
 
Jim Yingst
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here we are:
http://www.sun.com/software/java2/download.html
(I had to wander around in the Developer Connection area until I found a link to "Community Source".)
 
Cindy Glass
"The Hood"
Posts: 8521
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What fun. Now I can really see the nitty gritty!!! <evil grin>
 
It's a tiny ad only because the water is so cold.
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic