Feeds

RoboVM stirs up another helping of Java for iPhone

Apple unlikely to get cross over this compiler

Internet Security Threat Report 2014

The free RoboVM, timidly launched as version 0.0.1, claims to bridge Java code into Objective C - including the native iOS Cocoa Touch APIs - providing greater portability to mobile apps.

The release announcement boasts:

RoboVM makes it possible to develop native iOS apps that use the CocoaTouch APIs in Java using familiar tools such as the Eclipse Java IDE.

The RoboVM is licensed under Apache v2.0, with the compiler falling under GPLv2, and is largely based on the Android core classes, but once plugged into Eclipse it allows Java applications to be launched in a simulator and compiled down to iOS apps.

At one point that would have been breach of the iOS developer rules, which clearly stated that code had to be created in C, but those rules were only written to annoy Adobe (whose Flash compiler so upset Steve) and were never applied to platforms such as Appcelerator's Titanium - which happily compiles AJAX apps into runtimes for iOS, Android and BlackBerry.

Once Adobe had been frightened off the restriction was dropped, but emulators are still verboten in the iTunes store, unless bundled with apps, as they could provide an alternative application distribution mechanism - which Apple will never allow. Since then, quite a few Java/iOS tools have emerged.

Oracle's ADF Module can spit out Android and iOS apps from the same code, which is based on Java and HTML5, and Google has a translation tool which will take (non-GUI) blocks of Java and convert them into Objective C for incorporating into iOS apps.

So Apple is unlikely to go chasing after RoboVM any time soon, and for those wedded to Java and not wanting to pay Oracle, it should provide a smooth transition into the iOS world though the team is keen to point out that it's still early days and some things aren't going to work properly.

But that's what beta releases are for, and the team has provided pretty-comprehensive instructions for those who want to give it a shot so there seems little reason not to, if one's love of Java and open source is still standing in the way of one's iOS aspirations. ®

Choosing a cloud hosting partner with confidence

More from The Register

next story
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Sway: Microsoft's new Office app doesn't have an Undo function
Content aggregation, meet the workplace ... oh
Do Moan! MONSTER 6-day EMAIL OUTAGE hits Domain Monster
Customers freaked out by frightful service
Sign off my IT project or I’ll PHONE your MUM
Honestly, it’s a piece of piss
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
NetWare sales revive in China thanks to that man Snowden
If it ain't Microsoft, it's in fashion behind the Great Firewall
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Why cloud backup?
Combining the latest advancements in disk-based backup with secure, integrated, cloud technologies offer organizations fast and assured recovery of their critical enterprise data.
Win a year’s supply of chocolate
There is no techie angle to this competition so we're not going to pretend there is, but everyone loves chocolate so who cares.
High Performance for All
While HPC is not new, it has traditionally been seen as a specialist area – is it now geared up to meet more mainstream requirements?
Intelligent flash storage arrays
Tegile Intelligent Storage Arrays with IntelliFlash helps IT boost storage utilization and effciency while delivering unmatched storage savings and performance.