The first preview release of RoboVM has just been made available. The primary goal of the project is to make it possible to develop native iOS applications in Java that use native iOS Cocoa Touch APIs. The RoboVM compiler translates Java bytecode into ARM or x86 machine code. The core classes (java.lang, java.util, java.io, etc.) are based on Android’s runtime classes. RoboVM’s compile time tools are GPLv2 licensed while the runtime is released under business-friendly licenses, mostly the Apache License v2.0.
RoboVM 0.0.1 released
2013-01-23 8:11 pmsukru
MonoTouch does the same thing (for .Net, and commercial but the idea is the same), and they have been around for years.
So, I think they should be okay.
2013-01-23 8:34 pmmoondevil
Why should it?
After the only C, C++, Objective-C mis-step, Apple now allows for native code regardless of the language.
Although for many people Java == Oracle VM, there are several VMs around, including native compilers for Java.
2013-01-23 11:15 pmNelson
They don’t allow JIT engines.
If this is an ahead-of-time compiler then there’s no reason why not.
2013-01-24 7:26 amtorb
I think they loosened the terms regarding programming languages and tools a few years ago. For example, RubyMotion which allows you to write iOS apps in Ruby is allowed.
We need more native compilers for Java.
2013-01-23 8:51 pmKochise
We just don’t need Java, period.
2013-01-24 8:20 amKochise
Java is so wonderful :
Ain’t enough programming languages out there that solve the same problem Java does, without the intrinsic hassle of Java ?
2013-01-24 12:16 amebasconp
gcj is also a good java ahead-of-time compiler. ok, ok, I do not know if there is some work on it to be supported on iOS, but, it would qualify, I think.
Edited 2013-01-24 00:19 UTC
2013-01-24 6:32 ammoondevil
The work on GCJ has slowed down to snail speed when most of the developers moved to other things.
Last update on the GCC site is from 2009.
If it wasn’t for the source control history, you would hardly notice any work is still being done.
Most of the native compilers I know for Java are all commercial solutions, maybe this is why people tend not to use them, as they rather use free stuff.
Edited 2013-01-24 06:32 UTC
2013-01-24 7:15 amintangible
Yeah, I’ve been pretty bummed to see GCJ development almost stop, but this project still seems to be moving forward at least (not exactly the same goals as GCJ, but still looks interesting): http://oss.readytalk.com/avian/index.html
2013-01-24 7:41 ammoondevil
Thanks for sharing.
Wouldn’t this violate the Apple terms?