Come on SUN!!!

Discussion in 'iPhone/iPad Programming' started by MattGTO, Jul 25, 2008.

  1. macrumors regular

    MattGTO

    Joined:
    May 29, 2008
    Location:
    Mckinney, Texas
    #1
    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.
     
  2. macrumors G3

    Joined:
    May 10, 2004
    #2
    Apple does not allow "interpreter" applications on the iPhone.
     
  3. thread starter macrumors regular

    MattGTO

    Joined:
    May 29, 2008
    Location:
    Mckinney, Texas
    #3
    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?
     
  4. macrumors 68040

    Joined:
    Apr 22, 2005
    #4
    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.
     
  5. TEG
    macrumors 604

    TEG

    Joined:
    Jan 21, 2002
    Location:
    Langley, Washington
    #5
    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
     
  6. thread starter macrumors regular

    MattGTO

    Joined:
    May 29, 2008
    Location:
    Mckinney, Texas
    #6
    So I'm guessing until I get a mac, web apps are my only option...right?
     
  7. macrumors G3

    Joined:
    May 10, 2004
    #7
    Since when you run Java out of a JVM, except for GCJ?
     
  8. macrumors G3

    Joined:
    May 10, 2004
    #8
    This is just one app running.
     
  9. macrumors newbie

    Joined:
    Jul 14, 2008
    #9
    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.
     
  10. macrumors member

    Joined:
    Jun 14, 2008
    #10
    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.
     
  11. macrumors 65816

    Dippo

    Joined:
    Sep 27, 2003
    Location:
    Charlotte, NC
    #11
    Unless you can get OS X running on your PC, you are out of luck!
    Apple is never going to release the iPhone SDK for windows nor linux...
     
  12. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #12
    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?
     
  13. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #13
    OpenGL has nothing to do with being interpreted or not. It is an API.
     

Share This Page