Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MattGTO

macrumors regular
Original poster
May 29, 2008
221
0
Mckinney, Texas
When will they be releasing the Java iPhone SDK? I don't have a mac (would like to buy one), but I am gonna be taking Java class next year...and I really, really want to play around with writing apps on my iPhone.
 

MattGTO

macrumors regular
Original poster
May 29, 2008
221
0
Mckinney, Texas
Wasn't apple letting sun make the Java SDK? That's what I heard. If not, will the official SDK ever be released for PC?
 

admanimal

macrumors 68040
Apr 22, 2005
3,531
2
I don't really think Java on the iPhone is anything to get too excited about anyway. Even if Apple allows some kind of Java app on the phone, I can almost guarantee you that you won't be able to write standalone Java apps. At best you can write some code that runs inside the Java app.
 

TEG

macrumors 604
Jan 21, 2002
6,625
173
Langley, Washington
JAVA for the iPhone is likely coming. The stumbling block is running two apps at the same time (the program and the JAVA interpreter).

TEG
 

txmike

macrumors newbie
Jul 14, 2008
12
0
Java on an iPhone

I'd have to vote no to Java on an iPhone...

The most critical part of an iPhone application is the touch interface. Swing, SWT or AWT would be lousy on an iPhone and I just don't see Sun building a UI stack for the touch interface. If you know Java, learning ObjC is a piece of cake.
 

MrRage

macrumors member
Jun 14, 2008
71
2
Well the SDK could technically work under something other than OSX, but that would be a bit of a pain in the ass to setup and maintain. Anyone who has done cross platform building in GCC will know this is painful.

That and apple's is first and foremost a hardware company, and this is just another clever way for them to sell macs.

I've been doing java development at work for two years now and have really liked Objective C after getting use to it. So I'm glad there is no Java here.
 

firewood

macrumors G3
Jul 29, 2003
8,141
1,384
Silicon Valley
Apple does not allow "interpreter" applications on the iPhone.

The SDK license does not appear to allow an interpreter which can run downloaded code. Whether an embedded interpreter that can't download or link to additional code is acceptable to Apple is still unknown. So a JVM that came bundled with a non-networked or non-extensible Java byte-code app may possibly be allowable.

You can also use the built-in JavaScript (and maybe Open GL) interpreters with downloaded code. Are there any other interpreters built-in to an iPhone?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.