Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
This is good news, to be sure. Although, I'd rather it be a complete J2SE implementation or maybe something like Personal Java which is what I had on my Sharp Zaurus (Linux-based PDA.)

Things are looking good for Java to spite no Java 6 on OS X. Remember that Java is used in Blu-Ray as well- BD-J.

This also gives developers a choice. We won't necessarily be forced into learning Objective C.

Java sucks. You should be forced into Objective C, I think that's Apple's point. It's probably part of the reason there isn't flash on the iPhone, it makes web developers think if they really need to use Flash for their website.
 
Java sucks. You should be forced into Objective C, I think that's Apple's point. It's probably part of the reason there isn't flash on the iPhone, it makes web developers think if they really need to use Flash for their website.

You should be forced to do something. ;)

For iPhone devleopment, it's a no brainer to use Objective-C, but for crossplatform dev, that's not the case.

And you really think that we'll stop using Flash just to accomdate an iPhone. That's ridiculous. You probably didn't notice, but iPhones are still a minority when it comes to web browsing. iPhone users just wont have access to certain features of a site, they'll have access to the same info the search bots can see though, which is just fine for a portable device that's not up to desktop specs.

<]=)
 
I think Apple has stopped work on future JVMs on Mac -- hence the lack of the current Java on 10.4/10.5...

SUN should do it anyhow...


I think Apple maintains Java for Mac desktops, if I recall correctly Sun offered to do it (like they do for windows) but Apple wanted to customize it or something.
 
Yea, I think AIR will have a place on iPhone, and SVG/H.264 will end up taking the place of Flash... Flash causes more crashes on Safari than anything else ever anyways on my Mac!!! So annoying!


I'm actually more excited about the possabilaiy of AIR than just flash for some reason.
 
Oh wooopty doo. Dont care for java in the slightest. Majority of the worst apps i have ever used have been made in java. Objective C or naff off IMO
 
This doesn't make any sense to me. It would be easier, faster, and safer to port any Java apps that were truly needed to native ones wouldn't it?
Not really.

It seems to me that once you realise [...] that "doing Java" on the iPhone becomes just a choice of languages for developing apps.
Exactly. The language of choice for apps already written in Java. Also, once you realize that Java is the most popular programming language, while Objective-C is barely used, and Macs-only (and iPhones), it should be obvious that many companies and developers targeting multiple platforms are not going to invest time, money, or resources in learning a niche programming language and its frameworks. (TIOBE has Java:Obj-C popularity at 200:1)

That said, Java ME is very limited, but SE would eat up RAM way too quickly. Let's see what Sun can come up with...
 
Religious arguments about Java itself aside, the problem is that at best, this results in hundreds of crapware apps being ported to iPhone/touch with zero consideration for the platform or the multi-touch interface.
The last thing I want to see is the App Store flooded with ugly ports of chicklet input apps, making it difficult to find properly designed ones.
I really hope that Apple makes porting as difficult as possible to ensure that I don't have to weed through apps designed for last gen phones.
 
Yes, it is great that some random portion of crappy JavaME games will suddenly run poorly or incorrectly on the iPhone. I really had hoped we could avoid this. The idea is to revolutionize the expectations and capabilities of mobile devices, not keep churning the same wretched crap. JavaME is one of the most poorly thought out development platforms ever created.

If we must tolerate Java on a device that clearly doesn't need it, let us at least have a complete API, or as close to complete as possible, such as the CDC profile.

For the record, I'm a career Java developer and have written JavaME apps myself. With the capabilities of the iPhone, there is absolutely no good reason to use Java to target it. Objective C is easily a thousand times better language, and the tools provided in Xcode are more advanced than most any Java development toolkit. I understand the draw of compatibility with existing JavaME apps but the fact is, compatibility is the last thing you expect with a midlet, unless you stick to the absolute core, and even then, you rarely hit more than 20% of handsets. That gives whatever implementation they toss together about a 1 in 5 compatibility range, and that excludes apps that decided to rely on screen sizes and render their own interfaces.

That said, one of my favorite mobile apps is a Java ME app, it's simple and adapts well to random devices, so I guess if this does come to fruition, at least I'll get my JABPlite back!



I don't understand, I thought Sun was moving mobile Java to a whole new implementation that is supposed to be almost a full java standard edition.
I agree that JavaME is crap, and nearly 95% of applications written for it by indepedent developers are total crap as well.
It would however be nice if Sun made a nice complete java VM that integrated with Cocoa well, and would make Java an optional language on the platform for those that don't know/want to learn Objective C. Is that type of thing possible? Isn't there already some type of wrapper library/interface created to mesh Java with cocoa and other BSD libraries for use on OSX/*nix machines that could be ported to iPhone? Anyone else know?

Also, I have been wondering if its possible and/or likely for someone to port a CLR implementation like Mono or Portable.NET onto the iPhone along with Cocoa# to that apps could be written in C#/VB.net/Ironpython but still use native cocoa interface and supporting libraries... ??
 
Yea, I think AIR will have a place on iPhone, and SVG/H.264 will end up taking the place of Flash... Flash causes more crashes on Safari than anything else ever anyways on my Mac!!! So annoying!

Air? What a joke. First of all, if web developers want to program connected desktop apps, they should learn a desktop language. It's completely pathetic to be using Javascript for a desktop app.

And putting "Air" on the iphone makes no sense at all! It already has a great Webkit/Safari implementation. The iPhone platform already has a native embedded Safari widget that you could use to make an "application" that would
basically load a blank Webkit engine and load a javascript/html "web app". Why would you need a proprietary thing like Air?


Religious arguments about Java itself aside, the problem is that at best, this results in hundreds of crapware apps being ported to iPhone/touch with zero consideration for the platform or the multi-touch interface.
The last thing I want to see is the App Store flooded with ugly ports of chicklet input apps, making it difficult to find properly designed ones.
I really hope that Apple makes porting as difficult as possible to ensure that I don't have to weed through apps designed for last gen phones.

I don't think Apple would be approving apps that aren't completely redone to support the touch interface...
 
And you really think that we'll stop using Flash just to accomdate an iPhone. That's ridiculous. You probably didn't notice, but iPhones are still a minority when it comes to web browsing.
<]=)

And there it is. But don't tell Apple their plan to get rid of Flash, Java, Windows Media Player, etc. isn't going to work.

Their methods are especially futile when you consider that things like Quicktime are still around to spite the existence of Microsoft.
 
I really hope that Apple tells java where they can put their coffee beans!! Seriously the iphone is all about being smooth, integrated and easy to use (KISS). I would really hate to see Java mucking up that environment with crappiness.

Also, since apple has a whopping 71% mobile phone browser market share (in 8 months) it would seem that they are coming from a position of power in that arena. So maybe this would force web developers to look at h.264 more. At least as an option. I freaking hate flash.
 
Isn't there already some type of wrapper library/interface created to mesh Java with cocoa and other BSD libraries for use on OSX/*nix machines that could be ported to iPhone? Anyone else know?
There was: Cocoa-Java. "We're going to deliver to you the best Java 2SE delivery platform on the planet" (Steve Jobs, 2001).

Apple killed Cocoa-Java in 2005 because Steve felt that the hype was over. Now they are concentrating on the Python bridge. Until 2009.
 
The iPhone has only .1% of the overall browsing market, as of Dec. 2007. source

Steve says that the iPhone offers the "real" WWW, thus lessening the significance about mobile market share. In some cases I still find iPhone/Mobile formatted sites more useful because they usually aren't overrun with ads and other stuff and avoid excessive graphics/formatting/etc. What has 71% of the mobile market share gotten us? Home screen icons and some sites formatted for 320 x 480. These are nice things to have and shows some influence, sure. But it is a far cry from causing web developers to abandon long-standing technologies.

After all, most of the WWW caters to desktop browsers. So, I don't think the Jobster is going to change the face of the "real" WWW with .1% of the browser market. Heck, Firefox, Safari, Opera, etc. haven't been enough to completely get rid of Active X and IE specific sites.
 
The iPhone has only .1% of the overall browsing market, as of Dec. 2007. source

Steve says that the iPhone offers the "real" WWW, thus lessening the significance about mobile market share. In some cases I still find iPhone/Mobile formatted sites more useful because they usually aren't overrun with ads and other stuff and avoid excessive graphics/formatting/etc. What has 71% of the mobile market share gotten us? Home screen icons and some sites formatted for 320 x 480. These are nice things to have and shows some influence, sure. But it is a far cry from causing web developers to abandon long-standing technologies.

After all, most of the WWW caters to desktop browsers. So, I don't think the Jobster is going to change the face of the "real" WWW with .1% of the browser market. Heck, Firefox, Safari, Opera, etc. haven't been enough to completely get rid of Active X and IE specific sites.

I suspect the writing of modified web sites due to the limitations of pre iPhone mobile web devices is doomed. Also, in a web 2.0 world, not carrying ads might be an additional reason for its demise. I suspect the iPhone is to mobiles what the Apple 2 was to computers. Just the beginning of a major paradigm shift.
 
I don't understand, I thought Sun was moving mobile Java to a whole new implementation that is supposed to be almost a full java standard edition.
I agree that JavaME is crap, and nearly 95% of applications written for it by indepedent developers are total crap as well.
It would however be nice if Sun made a nice complete java VM that integrated with Cocoa well, and would make Java an optional language on the platform for those that don't know/want to learn Objective C. Is that type of thing possible? Isn't there already some type of wrapper library/interface created to mesh Java with cocoa and other BSD libraries for use on OSX/*nix machines that could be ported to iPhone? Anyone else know?

Also, I have been wondering if its possible and/or likely for someone to port a CLR implementation like Mono or Portable.NET onto the iPhone along with Cocoa# to that apps could be written in C#/VB.net/Ironpython but still use native cocoa interface and supporting libraries... ??

Far be it from me to praise anything MS, but I think that having .NET's 'native language' be CLR with all other languages being just 'dialects' was brilliant.
 
I'm a reluctant Java developer. I've tried several times to get in to Cocoa and Objective-C and just can't get the hang of it. It seems cluttered and confusing and too much like C. Java is much easier to understand and to write good portable and modular code for.

In my experience, the problem with Java isn't the language itself, its Swing - the built-in GUI layer in Java for applications. Swing is an approximation of everything - for example: buttons are 'lightweight' versions of OS buttons. Not an actual OS button, but a Java representation of that button. This means Java Swing applications look and feel just not quite right. Its got better in recent Java versions (1.5 and 1.6 notably), but the bad quality of the apps in the past has cost the Java brand dearly.

However the new way to write Java UI applications is to replace the Swing UI layer with something called SWT. Unlike the lightweight approximations of widgets, SWT gives you actual native buttons just like Cocoa would give you if coding with Objective-C. SWT is the way Java applications should always have been, and it would have prevented all this Java-hating.

Java applications definitely do not have to be slow or fugly.

Also, JavaME is crap. If you're going to be writing Java, you want to be writing full-blown Java (like JavaSE).

Java is a great language. Relatively easy to learn (certainly compared to Objective-C, it would seem), and really useful if you want to write portable applications that can run on all the major platforms. Just cut it some slack, yeah?

Word. The authors of numerous commercial games don't seem to have too much trouble getting Java apps to run fast enough. Too many "programmers" around here firing off unfounded Java-hatred. With my admittedly limited experience of the generally unreadable Objective-C, I'd take Java any day. But then Apple sees Java as "not invented here," just like Microsoft did.
 
Oh wooopty doo. Dont care for java in the slightest. Majority of the worst apps i have ever used have been made in java. Objective C or naff off IMO

How accommodating of you. A real programmer, of course, would understand that the language used has limited effect on app quality - there are still commercially available and perfectly usable systems written in COBOL, which IMO is one of the worst languages ever created.
 
JAVA - Slowing down computer hardware since 1991. Coming Soon to the iPhone!

This is a non-event. Save the time, Sun. We don't want Java.

Complete bull. This is 2008, and Java is NOT slow.

Java was crap on pre G5 PPC processors, yes. I use multiple Java apps daily and I cannot tell the difference between a native OSX app and a Java app in terms of performance. The look and feel could be better, yes, but IMO, if the Java App has been packaged in a OSX app package, then the GUI isn't too bad.

So where is the latest Java for Mac OS X desktops, SUN?!

Blame Apple.

Way back, Apple told Sun they wanted to do the Java implementation on OSX.

Apple have always been slow with Java releases. It would be extremely short sighted if Apple were to give up Java on OSX.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.