Porting Jainja JVM
Pages: 1 2
Guillaume Legris (10341) 11 posts |
Sorry, I should have explained more clearly what jainja is on the project page:
Why not use the standard OpenJDK library? Because when we look at its implementation, the non-explicit presuppositions are the following (non-exhaustive list):
Consequently, the different attempts to port Java to platforms other than those previously mentioned often arrive at the same decision which is to only support a subpart of the specifications:
Jainja tries to find a compromise (sometimes to the detriment of performance) by supporting all bytecodes and a sufficient part of the libraries so as not to have to rewrite all the code for the GUI (MIDP, AWT, Swing, Codename One) that is to say by just making adaptations. It is therefore unlikely that an application with a GUI developed in Swing using all the features of OpenJDK will work directly on Jainja (nor on Android, GWT, …) but it is possible with code adaptations. In conclusion, Jainja rather targets developers who want to run their application with as little effort as possible on non-standard platforms. It is not suitable for running a complex application with a GUI out of the box. |
Andrew McCarthy (3688) 605 posts |
Thank you all. Guillaume, I appreciate the explanation and how it sets expectations. Also, I found the various scripts in the Run file useful. :) Nice. |
David Feugey (2125) 2709 posts |
A really, really, cool project :) |
Ian (12265) 4 posts |
Wow – just came across this – and happy to contribute. I did have a play years ago with extending Kaffe to work on RiscOS with an AWT port from UNIX land, but aborted this attempt as it was getting nowhere. I’ll take a look. |
Pages: 1 2