Java ME says "Hello world."

Here's something I'm working on with Chris Plummer and Dean Long for JavaOne this year. Chris recently was able to build our Java ME CDC/Foundation Profile platform on Darwin OS x86 (hmmm... Darwin OS... I wonder what that means... ;-) ) last weekend. (I think he started on Friday afternoon and was ready with it on Saturday). Faster than you can say, "Java ME rules!"

See:

Java ME says "Hello world."

Hello, iPhone. Think different. Think Java ME. :-)

Comments:

JRuby!

Posted by Charles Oliver Nutter on April 10, 2008 at 10:19 AM PDT #

No secrets left! ;)

Posted by Petr Panteleyev on April 10, 2008 at 06:28 PM PDT #

I find your "Hello World" message pretty interesting as my "net sig file" for the last decade has been:

THINK
think diffrent
Think Open Source

mxt

Posted by michael thorne on April 11, 2008 at 06:28 AM PDT #

great work! i´m lokking forward to see java on my iphone!!!

Posted by marco on April 12, 2008 at 07:41 PM PDT #

This is really great, congrats !
See you @ JavaOne...

Posted by Stephan on April 13, 2008 at 08:51 PM PDT #

That's an image of an emulator running on your Mac, right? Not Java running on the iPhone. Sometimes the difference can be startling. A photo of this running on the actual phone might be more impressive.

Posted by John on April 16, 2008 at 12:44 AM PDT #

While this may seem to be wonderful news, the issue that the iPhone SDK agreement does not allow for "interpreted code" or "plug-in architecture" to be developed or deployed on the iphone/touch devices.

See section 3.3.2 of the iphone SDK agreement.

It would seem that Apple does not want anything like JavaME, Flash, or scripting languages and their VMs to run on apple devices.

Posted by Shawn on April 16, 2008 at 02:18 AM PDT #

Hi Shawn,

Yes, you may be right about the SDK agreement. We'll have to take this one step at a time though. Having a proof-of-concept demo will let us at least see what is technically feasible. After that, we can let whoever needs to work out the arrangements do so, if the proof-of-concept becomes interesting to other folks.

:-)

Hinkmond

Posted by Hinkmond Wong on April 16, 2008 at 11:06 AM PDT #

Hi John,

That is an image of the iPhone Simulator running on my Mac, yes. Java is still running as an executable built by the iPhone SDK beta 3 (using /Developer/usr/bin/i686-apple-darwin9-gcc-4.0.1) so it is under the guidelines of how Apple wants us to develope first for the simulator. However, I think you are right and it looks better running on the device. :-) Coming up... (maybe in a few days)...

Hinkmond

Posted by Hinkmond Wong on April 16, 2008 at 11:57 AM PDT #

Why not ignore J2ME under Apple's SDK and instead help improve Jay Freeman's (Saurik) J2SE implementation instead - much more useful.

Posted by DamHack on April 16, 2008 at 09:57 PM PDT #

Hi DamHack,

Good suggestion. I was not aware of Saurik's Java SE implementation until recently. We should definitely look to collaborate with him after our Java ME investigation is done. Java ME on iPhone does have the advantage of being able to run all the tens of thousands of MIDlets available and give access to the phone's native support (Bluetooth, Contact List, OpenGL ES, SIM card, etc.) with existing JSRs for Java ME (no shifting APIs or need to create new ones). Java SE does not have that. Plus with Java ME CDC/Foundation Profile, there is Java SE support in the core libs to give JNI, reflection, multi class loaders, etc. without the big footprint of Java SE.

But, it's still good to keep both going for more choice (either tighter integration with the phone native platform and a smaller footprint (Java ME) vs. full compatibility with the desktop and bigger footprint (Java SE)). Some developers will want one vs. the other on the iPhone I suspect.

Hinkmond

Posted by Hinkmond Wong on April 17, 2008 at 03:19 AM PDT #

Post a Comment:
Comments are closed for this entry.
About

Hinkmond Wong's blog on making Machine to Machine (M2M) and the Incredible Internet of Things (IoT) smarter with Java Embedded Technologies

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
2
3
4
5
6
7
8
9
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today