PDA

View Full Version : Java for DS Test Version Released



wraggster
August 7th, 2007, 22:07
News/release from Josath: (http://forum.gbadev.org/viewtopic.php?t=13871)


I took Torlus's Java port for GBA and modified it to work on NDS with DLDI.
Currently there is no access to the NDS hardware, besides printing text.

To use this demo, place kvm.nds and all the *.class files on your flashcart. Run kvm.nds, then select a .class file to run. There are a few examples testing various stuff. LcdSwapTest.class is a very simple example to prove that it is feasible to interface with the DS hardware, once a Java KNI wrapper is written around libnds.

Download pre-pre-alpha test (http://blog.davr.org/ds2/java4nds.zip)

If you want to compile your own java files, make sure they target version 1.4 (I'm not sure all the features this supports, but it wont even start if you do 1.5 or higher). For example, this will compile Hello.java into Hello.class:
Code:
javac -source 1.4 -target 1.4 Hello.java

Someone please tell me this is really dumb, before I waste too much time on it ;)

Download and Give Feedback Via Comments

Uknight
August 8th, 2007, 07:22
COOL! I'm a java programmer here and know nuts about doing C++ for NDS. I'll be awaiting a full app for java users like myself.

zauberer
August 8th, 2007, 18:34
This is great, my school uses JAVA since it's free.

Well done, we'll be waiting further releases.

::Xraxa, plz:.
August 9th, 2007, 17:15
This is interesting, please continue to work on it.