I don't understand why you even oppose the idea since you absolutely have 100% control of not installing any JVM or using any Java app. Why oppose giving other ppl who want it a chance? It doesn't affect you at all.Quite frankly, I don't want every crappy win developer attempting to port their poorly designed app to the iPhone using Java. That's what's going to happen if this goes through. Java apps are slow, generally ugly, and not what Apple wants.
Its not about iPhone being successful, its about to make users' experience better. Why so many people putting apple's $$$ ahead of end-users' benefit when they reasoning?Java is very important for Sun, so they will not give up easily. The iPhone does not need Java to succeed.
.
With any luck Apple will tell Sun to take a long walk off a short pier.With any luck they will come to a nice compromise.
I don't understand why you even oppose the idea since you absolutely have 100% control of not installing any JVM or using any Java app. Why oppose giving other ppl who want it a chance? It doesn't affect you at all.
Its not about iPhone being successful, its about to make users' experience better. Why so many people putting apple's $$$ ahead of end-users' benefit when they reasoning?
PS. JAVA will be 100% OSS soon, SUN won't get $$$ from it. Not everybody is closing things up and locking their eyes on money like APPL.
Apple is encouraging applications written in:
Objective C
Ruby
Python
i think the starting point of that thinking is not right.You still have not given us a reason why it is important to add java to the iPhone. There are other languages and also there is a very complete iPhone SDK that Apple released.
Why in your mind is Java important?
What would we gain that otherwise we would loose?
But you can use Safari and Mail respectively, so does it really matter?
Seriously I think the problem with Java is more that it might be difficult to force distribution with the AppStore more than anything.
for some, no, for others, yes. see, really not about everybody want/need it, just an option.
What does Opera Mini offer that Safari mobile doesn't?
What does GMail mobile offer that Mail mobile doesn't?
i think the starting point of that thinking is not right.
you would lose operamini, gmail java app, for two.. easily portable platform independent java apps which are already out there for three.
there is no one stop apple from allowing other environments, but that does not mean java isn't useful.
if java is indeed useless, why do you think it is still alive and kicking?
there is no conflict in allowing multiple environments. no one even asked for pre-installation.
Why oppose offering a powerful options that user can install if they want to? Why you, or me, or apple, should dictate what OPTIONS users should have?![]()
You are completely missing the point, nobody said Java is useless. Java has its place.
The question in front of you is very simple ..... Why do you feel it is necessary to have java in the iPhone?
and the second question is: What do we have to gain that otherwise we would not have?
All other devices and systems aside, stick to the iPhone please.
I second this... Java disgusts me (from an end user standpoint, it eats too much system resources and I just don't like Java, end of story).
Sebastian
Thirded (is that a word?)..
The last thing any iPhone needs is to bear is the bloated Java tit upon which the java-weenies find their suck.
Java sucks. Blunt, maybe, but not untrue. Just because it's on a lot of phones, doesn't mean it's any good. The vast majority of end users who use the java games or calculator bundled with their phone's OS don't know what powers it, and don't much care (as evidenced by the piles of .exes collected by new Mac users). Java on OS X is a joke: apps written in it are notorious memory hogs, their UIs almost always self-contained and ugly, and totally counter-intuitive. Whether this is Apple's implementation or endemic to Sun doesn't matter. It used to be REALbasic apps that were #1 in the comical stakes, now it's Java apps. If modern day desktops, with their processing power and oodles of memory have trouble running them, why should anyone have to tolerate it on a handheld device?
OK, I'm confused as heckI thought Java was a Good Thing--I often see it mentioned in the cons for the iphone, that it doesn't 'have Java', so I'm surprised to read this--I didn't know java was so loathed, lol!
But I don't quite know what it is, and though I tried wikipedia, the article is still too much for me! Can you explain it for me at all?
Thanks!!
That's the spin from Sun, anyway... The reality can be just a little bit trickier.Advantages: Write once, run anywhere. PC, Mac, Linux, Symbain etc.
'Zactly!Disadvantages: Java application often look out of place and feel non-native to the platform they run. For example, even if a Java application looks very Mac like, it cannot use the standard Mac toolbars used in iWork, Preview etc. and it cannot access the services menu. So even if it looks the same as all you Mac applications, it will never work the same as your Mac applications, as it will work like a Java application.
Ok, I'll do my best!
Java is a programming language (with its associated class libraries for things like parsing XML, writing files, handling dates and time etc.), but it is much more than another programming language:
Point #1 — Cross Platform Conundrum
Most computer programs are compiled to run on a single processor. Windows programs are compiled to run on the x86 (Intel/AMD) architecture, Mac programs were traditionally compiled to run on the PowerPC architecture (although now most Mac programs are compiled to run on both, these are called by Apple “universal binaries”). iPhone programs are compiled to run on the ARM architecture.
Problem: If you want to write for PC and Mac, you need to write two separate applications. Want to write for iPhone? That will be another application. Want to write for Symbain? Guess what? Another application. Oh dear.
Solution: Java. Java provides a method of writing applications which target multiple platforms.
Point #2 — Java Virtual Machine to the Rescue!
Java programs are not compiled to run on x86, PowerPC, ARM or any other processor. They are compiled to run on the Java Virtual Machine (or JVM, for short). This virtual machine sits on top of a real processor. This means that (providing an implementation of the JVM exists for the platform you are targeting) your Java program will work without changing a single line of code.
Advantages: Write once, run anywhere. PC, Mac, Linux, Symbain etc.
Disadvantages: Because the code is running on the virtual machine, it is abstracted one layer further away from the hardware, which means it will execute slower. How much slower depends from program to program, sometimes it is not noticeable, sometimes it is very noticeable (this was particularly the case in the past, not so much now) sometimes the portability benefits outweigh the performance issues.
Point #3 — Does a cross platform look and feel suffice?
Java programs need a way to display a graphical user interface (windows, menus, textboxes etc) to the user.
Problem: Java runs on many different platforms, each with their own separate windowing systems and interface guidelines.
Solution: Java solves this problem with the SWING and AWT libraries, which allow for the creation of Graphical User Interfaces which work the same across platforms. They will look different. For example, a JButton on Windows will look like a standard Windows Button, a JButton on Mac will look like a standard Mac Button. There are some inconsistencies though (a button is a very simple example).
Disadvantages: Java application often look “out of place” and feel “non-native” to the platform they run. For example, even if a Java application looks very Mac like, it cannot use the standard Mac toolbars used in iWork, Preview etc. and it cannot access the services menu. So even if it looks the same as all you Mac applications, it will never work the same as your Mac applications, as it will work like a Java application.
Summary
So it's more than just “fanboy” thing. The disadvantages which I have outlined above are often summed up in one phrase “slow and ugly”. Whilst the real issues are a good deal more complicated than that there is a thought that Java programs will never ever work as well as native applications targeted at a single platform.
Google have used Java to build most of their services and they make a little bit of money! All of WebObjects is written in Java (iTunes Store, Apple Online Store etc.). It is also I believe the most popular programming language in the world. So it does have a lot going for it.
Footnote: I've not told the “whole story” above in order to keep it simple. Of course there are different types of Java, J2SE (Standard Edition), J2ME (Mobile Edition) and J2EE (Enterprise Edition) and different versions as well: Java 5, Java 6 etc.
The responsibility of maintaining the JVM varies from platform to platform. Sun are responsible for the Windows JVM, Apple is responsible for the Mac JVM. Apple lag behind Sun, they only have Java 6 in beta on the Mac, whereas Java 6 has been available on other platforms for over a year now.
Because of the differences in JVM from platform to platform, the “Write once, run anywhere” mantra isn't always accurate.
Where I use the phrase “standard Mac application”, it should be taken to mean an Application built in Xcode, using the Cocoa frameworks.
That's the spin from Sun, anyway... The reality can be just a little bit trickier.
How many of you anti-Java people have actually used Java on a phone? It's a completely slimmed-down environment.
There's even much smaller Java for smart cards.
Missed that! Perfectly summarized!Read the footnote!
It was already long enough, I had to leave some bits out.
That's fine for phones that don't have another programming environment, but what would be the point with Java on the iPhone? There is already a killer Cocoa-based UI for the iPhone, Java would just dumb that down for apps that may (or may not) "run anywhere™" but won't take advantage of specific iPhone features.How many of you anti-Java people have actually used Java on a phone? It's a completely slimmed-down environment.
How many of you anti-Java people have actually used Java on a phone? It's a completely slimmed-down environment.
I would consider that word if you would admit OSX on iPhone is crippled, and safari on iPhone is crippled as well.I think the word you're looking for is "crippled". Otherwise they'd use that environment everywhere. They don't, for good reason.