X

Sundararajan's Weblog

  • Books |
    September 16, 2009

"helloworld" with Maxine JVM on Mac

Last night, I listened to this nice podcast on Maxine JVM from
Software Engineering Radio. Maxine is a Java
Virtual Machine implemented in the Java programming language.

I wanted to try out Maxine on my MacBook Pro running Mac OS X 10.5.8. I followed these steps to try it out:

  • Get the Maxine sources
    hg clone https://kenai.com/hg/maxine~maxine maxine
  • Setup the environment

    export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
    export JUNIT4_CP=<full-path-of junit-4.4.jar>
  • Build Maxine

    cd $MAXINE_HOME/bin
    ./max build
    ./max image
  • Run the "helloworld"

    ./max helloworld

Wow! Maxine VM printed "Hello World!". Now, it is time to explore Maxine's inspector and other cool stuff ...

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.Captcha
Oracle

Integrated Cloud Applications & Platform Services