This project builds ART Java runtime from Android for Mac OS X in Xcode.
- Create Mac OS X setup for playing with ART / Jack & Jill
- I would love to experiment with adding new features (like value types) without having to think of how to get them through javac
- Create embeddable JVM for Mac OS X / iOS
- Runtime for the "extended Java" language above
- RoboVM alternative
The reality however, is that none of those goals are achieved, and the most you can do right now is to run simple apps (like HelloWorld).
- Mac OS X 10.9+
- Xcode 6+
- Android SDK with KitKat (API 19) tools
- Clone the repo
- Run
./gyp_generate.py --android-sdk-root <path to the Android SDK>
- Open
projects/xcode/ARTPart.xcworkspace
- Build
out
target (32-bit)
- Run
testapps-HelloWorld
target (32-bit) - Build and run arbitrary Java files with
run_java.py
(e.g../run_java.py --sources platform/art/test/302-float-conversion --main-class-name Main
)