问题
Can I run a Java applet that's been embedded in an or HTML tag on an iPhone? I don't mean as an App but actually through its browser.
回答1:
No, as Steve Jobs stated when interviewed about that question in 2007 he answered
Java's not worth building in. Nobody uses Java anymore. It's this big heavyweight ball and chain.
That's not the truth, but at least you can be sure you can't embed an applet into the browser..
回答2:
No, the iPhone does not support Java inside or outside the browser.
If you are wondering if it will ever be possible, the answer is almost certainly no. Steve Jobs has been quoted as saying, "Java's not worth building in. Nobody uses Java anymore. It's this big heavyweight ball and chain."
回答3:
No. No VM is allowed on iPhone OS.
Hence, no java, no flash... nothing but iPhone OS only!
Sad but true.
回答4:
THIS IS NO LONGER TRUE...if you are willing to jailbreak. there is now an app on CYDIA that allows the IPhone to use Java. see instructions here
NOTE:have not accually tried myself as my IPhone is stuck in infinite boot loop and i haven't fixed it yet, but i'm assuming that this will work.(so don't down vote if it fails, just leave a comment saying so.)
来源:https://stackoverflow.com/questions/2368166/can-i-run-a-webpage-embedded-java-applet-on-the-iphones-web-browser