Sun backs Java-on-iPhone 'quick fix'
Go BREW team!
Tiny Innaworks has emerged as the temporary savior of a red-faced Sun Microsystems and thousands of developers itching to get their applications running to Apple's iPhone and Touch.
Sun will use next month's JavaOne conference to demonstrate technology from mobile tools specialist Innaworks that converts Java Micro Edition code to run on the iPhone. Innaworks' alcheMo algorithm for the iPhone is in beta, but has been used successfully for Qualcomm's Binary Runtime Environment for Wireless, unveiled in 2001 by the wireless manufacturer to rival Java.
According to Innaworks, founded in 2002, alcheMo for the iPhone "is equivalent" to the software used to put Java ME applications on BREW. Innaworks has outlined its patent-pending technology here. Java ME games are the initial target market.
Sun vice president of Java marketing Eric Klein told Reg Dev the company is highlighting Innaworks for those who want to get their applications on the iPhone "yesterday".
For genuinely native Java on the iPhone, though, you're going to have to wait indefinitely. Klein said Sun's strategy remains unchanged, to have Java run natively on Apple's forbidden device, but the companies are still in discussions. There is no indication when those talks will wrap up, and Klein would not go into details.
In a triumph of enthusiasm over fine-print reading, Sun promised to build a Java Virtual Machine for the iPhone the day after Apple unveiled its SDK last month. The company was subsequently forced to retreat to a JVM "if possible" position once it became clear Apple's EULA forbids non-Apple applications and code from installing or launching on the device.
At this stage its not clear whether Innaworks will also contravene the terms of the EULA.®
Technically it was done
Porting Java to the IPhone was done already, see http://blogs.sun.com/hinkmond/entry/houston_we_have_liftoff but of course it can't be released until they have a legal agreement
The Java implementation is a port of JamVM/GNU Classpath. It was first ported back in November last year :
Of course, it isn't "Java" as neither JamVM or GNU Classpath has passed Sun's TCK. But as Sun doesn't make this available to open-source projects it's hardly surprising.
Yes, Sun has announced a new licence for the TCK, but this applies only to implementations substantially derived from Sun's OpenJDK, which neither JamVM or GNU Classpath is.
OpenJDK Community TCK license:
Not the first time Sun have spoken too soon...
Jonathan Schwartz the day before Android SDK became available:
‘I’d also like Sun to be the first platform software company to commit to a complete developer environment around the platform, as we throw Sun’s NetBeans developer platform for mobile devices behind the effort. We’ve obviously done a ton of work to support developers on all Java based platforms, and were pleased to add Google’s Android to the list.’
The Blog entry has now been edited:http://blogs.sun.com/jonathan/entry/congratulations_google