From: ol.sc@web.de (Oliver Schmidt)
Newsgroups: comp.sys.apple2,comp.sys.cbm
Subject: Java on the Apple2 and C64
Date: Tue, 07 Aug 2007 22:32:03 GMT

Hi,

I successfully ported the NanoVM (www.harbaum.org/till/nanovm/) to the
cc65 toolchain (www.cc65.org).

It's a very minimalistic Java implementation written in portable C.
The binary built with cc65 is only 16kB.

The NanoVM source is available via anonymous CVS access at
SourceForge.net (sourceforge.net/projects/nanovm/).

To allow you easy access I created a zip file
(www.jantzer-schmidt.de/nanovm-cc65.zip) containing:

1. The tool necessary to convert .class files into an .nvm file to be
loaded by the NanoVM in case you want to create your own Java
programs.

2. An Apple2 .dsk image file containing the NanoVM binary together
with some samples. Type 'EXEC <TXT File> to run one of the sample Java
programs.

3. A C64 .d64 image file containing the NanoVM binary together with
some samples. Type 'RUN:REM <NVM File> to run one of the sample Java
programs.

The source of the sample Java programs can be viewed  via CVS
repository browsing
(nanovm.cvs.sourceforge.net/nanovm/nanovm/java/examples/).

Best, Oliver
