Friday, November 09, 2007

Open-source Java could result in port to iPhone

With the first anniversary of open-source Java coming up November 13, a Sun official believes the project could bear a sought-after fruit in the Java community: The porting of Java to the Apple iPhone.

Apple has not made Java capable of running on the popular device. But Sun's Terrence Barr, technical evangelist for the Java mobile and embedded community, believes Apple's plans to release an SDK for iPhone in early-2008 may result in the open-source phoneME version of Java ME winding up on iPhone.

"It is quite likely that people will start porting phoneME to the iPhone to provide Java that way. I expect that to happen as a community effort," Barr said on Friday afternoon.

Java developers have clamored for Java on the iPhone, an effort that Sun has said would enable many Java applications to run on the device. But Apple has been dismissive of having Java on the iPhone. Apple could not be reached for comment on Friday afternoon.

Meanwhile, Sun officials Friday lauded the progress of open-source Java after one year and said the effort had not resulted in any forking; no versions of Java have shown up that are incompatible with the main platform.

Developers "want this stuff to be compatible," said Rich Sands, community marketing manager for Java Platform Standard Edition at Sun.

From the May release of the JDK (Java Development Kit) via the OpenJDK open-source project, the entire base of more than 6.5 million lines of code has been downloaded 12,677 times as of October 27.

Sun chose GNU General Public License version 2 for OpenJDK in November 2006. This was considered an unusual choice at the time because Sun had its own CDDL (Common Development and Distribution License) license for open source. But GPLv2 discouraged forking and encouraged compatibility, Sands said.

About 96 percent of Java has been released as open source with the remaining 4 percent encumbered and only released as binaries. That 4 percent included some graphics libraries and encryption libraries. The IcedTea project, launched by the Red Hat Fedora community, aims to fill out the remainder of the JDK with free, compatible software, Sands said. Sun officials cited Red Hat's joining the OpenJDK community earlier this week.

"The big picture for OpenJDK is that in one year's time, we have built a community. We have seen tremendous interest on the part of the free and open source developers to join with us and work with us. We've seen several Linux distributions pick this up, and that's what IcedTea is about," Sands said.

Developers soon will be able to use the Mercurial source code system to manage the Java code.??

"This allows [developers] to access it in a database format," said Sands.??

Earlier this week, former Sun Vice President Larry Singer said he left the company in part because he thought the company was over-emphasizing its open-source efforts. As they did on Tuesday, Sun officials on Friday declined to respond to Singer's comments.

Asked if Sun has seen an improvement in sales of its hardware because of open-source Java, Sands said the open-source plans enable Sun to get into new markets in the developing world where open source is required. But he could not say whether hardware sales had increased thus far because of the open-source plan.

On the Java ME side for mobile and embedded systems, the phoneME project provides source code access. The phoneME community brought Java ME over to the Nokia M800 device, and an Italian consortium is building an interactive TV broadcasting system leveraging Java ME, Barr said.

Future plans call for open-sourcing of the JavaFX technology, extending Java to run multimedia applications on many types of systems.

spread the world by digging it.

17 comments:

Blah said...

I think this needs unlocking, here, since it can't be installed out of the box, try here.

Fabio Akita, PMP said...

Don't click the link above: it is spam.

Fabio Akita, PMP said...

Java is utterly unnecessary on a device as the iPhone. Flash would be nicer.

Java is bloated and slow to run on smaller and less powered devices. JME is too crippled to be useful.

Apple said they'll release an official SDK by february, I can bet money that it's gonna be Cocoa-based, which is extremely good as Objective C+Cocoa is the ultimate toolkit to build decent apps.

All other iPhone apps were written that way and I see no advantage in letting people do "ports" of todays very crippled and useless JME apps out there.

adam said...

I think that fabio is just plain wrong about the usefulness of a Java SDK for the iPhone! This is exactly what the iPhone and the Java community needs! Java is a fast maturing, versatile, secure language. With the iPhone's internet capabilities and touch interface, I believe that Java would be a logical choice for a SDK! It would require little change from Apples current Java offering since it is just a stripped down OS X!

Ed said...
This comment has been removed by the author.
Jah said...

The processor of the IPhone contain hardware acceleration for some Java operations (Jazelle). So it's perhaps not so bloated or slow as you say.

vivacarlie said...

how is it that a comment has been removed by the author but the spam comment stays?

kathy green said...

Its interesting to read older posts on the iPhone. We are now 200 days post sales on iPhone, and Apple has sold 4M units. That's a WOW! >20% market share in smart phones.

uiyui said...

If you are looking wow power leveling, buy warcraft gold as well as WOW Power Leveling and World Of wow levelingWhen you need someone to listen,FFXI Gil, I'll be there. When you need a hug, cheap FFXI Gil,I'll be there. When you need someone to hold your hand, I'll be there. When you need someone to wipe your tears, guess what? I'll be there. William Shakespeare

Conrad said...

I recently came across your blog and have been reading along. I thought I would leave my first comment. I don't know what to say except that I have enjoyed reading. Nice blog. I will keep visiting this blog very often.

Ruth

http://fendisite.com

samm said...

Thanks for the information.
The post is really interesting.
iphone

pbsl said...

you have a nice site.thanks for sharing this site. various kinds of ebooks are available here

http://feboook.blogspot.com

Purohit D said...

Sun Java is one of the most flexible platform for application development Sun Java development gives the way to develop complex applicaton development.

Purohit D said...

Sun Java is one of the most flexible platform for application development Sun Java development gives the way to develop complex applicaton development.

Purohit D said...

Sun Java is one of the most flexible platform for application development Sun Java development gives the way to develop complex applicaton development.

Purohit D said...

Java development services with dedicated Java developers. Java development outsourcing with proficient Java Developers.

Mobile Application Development said...

Thanks for sharing nice information about open source java result. Mobile Application Development useful for iPhone development and Android Mobile Application Development. Awesome post.