Like Tree1Likes
  • 1 Post By MK27

Need a very simple jvm

This is a discussion on Need a very simple jvm within the Tech Board forums, part of the Community Boards category; hi, i need a very simple jvm for my project(porting a jvm on a micro-kernel).for testing purpose it should be ...

  1. #1
    Registered User
    Join Date
    Apr 2011
    Posts
    26

    Question Need a very simple jvm

    hi,
    i need a very simple jvm for my project(porting a jvm on a micro-kernel).for testing purpose it should be very simple.i mean the jvm.As a example a jvm which can run very simple java hello world program.Please if somebody know a link to very simple jvm with understandably code tell me.OR is there a any tutorial to write a simple jvm using C/C++?? please help me

    thank you very much

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,490
    So what google searches have you done so far?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Registered User
    Join Date
    Apr 2011
    Posts
    26
    i searched but i couldn`t find a good one.There are some jvm s with lots of code files which are not that much simple.please some body help.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,490
    Here's an idea - list the ones you found, and explain what it is you don't like about them.

    There is no point us repeating your searches, for us to post "what about this one" for you to turn round and say "no, looked at that one already".
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Have a look at this:

    Bundling a minimal 'bare bones' JVM with your Application - Vincent Liu

    The idea is that, like any other library made of parts, you can strip it down to a functioning minimum. Ie, you don't need a "small jvm implementation", you just need to take your regular old implementation and leave out the parts you don't need.

    Apparently the JVM on the Mars rovers used < 200mb, which is like half of what it appears to use on my laptop with eclipse running. I guess they didn't need an IDE in space
    gardhr likes this.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple program, simple problem
    By KAUFMANN in forum C Programming
    Replies: 5
    Last Post: 02-16-2011, 12:16 PM
  2. simple program, simple error? HELP!
    By colonelhogan44 in forum C Programming
    Replies: 4
    Last Post: 03-21-2009, 11:21 AM
  3. Simple program...simple problem?
    By deadherorising in forum C Programming
    Replies: 2
    Last Post: 03-12-2009, 08:37 PM
  4. simple simple design question
    By Chaplin27 in forum C++ Programming
    Replies: 6
    Last Post: 05-31-2005, 11:33 PM
  5. Replies: 1
    Last Post: 07-20-2002, 06:33 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21