-
Website
http://www.vinodlive.com/ -
Original page
http://www.vinodlive.com/2007/12/17/core-java-15-on-iphone/ -
Subscribe
All Comments -
Community
-
Top Commenters
-
delhiboy
1 comment · 1 points
-
Michael Lankton
1 comment · 1 points
-
Vinod
1 comment · 2 points
-
lridgecooke
1 comment · 1 points
-
Vinod Ponmanadiyil
1 comment · 1 points
-
-
Popular Threads
JamVM 1.5.0 implements the publically available Java Virtual Machine Specification Second Edition, and the JNI specification, including additions up to JDK 1.5.
GNU Classpath 0.96.1 aims for 100% compatibility with JDK 1.5 but it isn't complete. Its API compatibility is tested by Japitools, and the results are publically available:
Against JDK 1.4 (92.63%) :
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk...
Against JDK 1.5 (88.33%) :
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk...
However, neither JamVM or GNU Classpath has been tested against, let alone passed, the Java Compatibility Kit (JCK). This is required for certification and to be "Java Compatible".
Having said that, Sun have not made the JCK available to open-source projects so it's hardly surprising that they haven't been tested against it.
With the release of OpenJDK, Sun have announced a new license for the JCK (OpenJDK Community TCK license):
http://www.infoq.com/news/2007/08/openjdk-jck
However, to qualify for access to the compatibility tests the project must be "substantially derived" from the OpenJDK itself. This means the JamVM/GNU Classpath combination would still not be able to be tested as both are clean-room implementations and are in no way derived from OpenJDK.
http://sources.redhat.com/mauve/
JamVM and GNU Classpath are regularly ran against Mauve. The results can be found on comp.java.classpath.testresults :
http://news.gmane.org/gmane.comp.java.classpath...
Or directly from GNU Classpath's official autobuilder and regression tester:
http://builder.classpath.org/
If you add the repository http://apptapp.saurik.com/ to Installer.app and install a bunch of stuff you will be able to write _graphical_ applications for your iPhone in either Java or JavaScript (thanks to Rhino, and some extra work I put in to JocStrap).
There are also a couple example applications in there: HelloJava and HelloScript. Both include their source code so you can see how they work.
If anyone needs help, send me an e-mail; my contact info is on my website. I also hang out on #iphone on irc.saurik.com, if anyone wants to come and ask questions.
There will probably be a separate website soon for my JocStrap project, and some tutorials of how to write applications now that development isn't so hectic ;P.
If anyone needs more support than what JocStrap currently provides (which is a number of frameworks including WebKit, Celestial, and UIKit), I'd be happy to either activate it or fix it. ;P