Lion removes Java?
lookfirst.com
lookfirst.com
This is pure unfounded speculation.
In reality Apple probably wanted to make the Lion base install leaner.
Many components are are now simply loaded and installed on demand. Like for example also extra voices for text2speech.
http://www.theregister.co.uk/2010/10/21/apple_threatens_to_k...
After a decade of shipping Java on the Mac and tricking old apps that hardcode paths to the 1.3.1 JVM, or putting in class loader hacks to fake out Xerces XML classes that were moved in 1.5.0, we are ready to try something different.
In http://lists.apple.com/archives/java-dev/2011/Jul/msg00044.h...
What you loose in a per-app embedded model is shared memory mapping of the native libraries and .jar files, but this is the same problem as a half dozen apps embedding (often different) versions of the Sparkle.framework to do app self-updates. The cost of the JVM heap is still the same, and class-sharing was never ported to 64-bit by Sun, so that optimization hasn't been around for a long time on Macs.
In http://lists.apple.com/archives/java-dev/2011/Jul/msg00038.h...
Long-term, we recommend that app developers who use the JavaApplicationStub should transition to embedding the Java runtime within their own app. We are working with Oracle on the OpenJDK project to provide an open source version of JDK7 that can be embedded, and several developers have already started deploying their apps with an embedded JDK7 (but it requires many manual steps right now).
We are tracking the progress of creating an embeddable JRE in http://java.net/jira/browse/MACOSX_PORT-105
Conclusion: Apple's JVM team think this model is better for solving end users problem with JVM compatibility.
http://itunes.apple.com/us/app/cyberduck/id409222199?mt=12...
> This is pure unfounded speculation.
> In reality Apple probably wanted to make the Lion base install leaner.
Can't agree more - pure speculation.
For instance, deleting everything from my iPod without warning probably made sense for Apple's copyright negatiations with media companies. It didn't make much sense to me. Censoring dictonaries and banning everything sexual, satirical, political or otherwise "unclean" from the app store probably makes sense for Apple. Makes no sense to me.
So, I guess, the issue I have with the phrase "making sense" is that it obfiuscates the fact that everyone has their own vested interests and the vested interests of a particular large corporation are sometimes very different from mine.
Couldn't agree more! Especially when it comes to large corporations where you are a product being sold to advertisers, they're even worse than large corporations that accept money from you in return for goods and services.
Ad driven companies have an incentive to spy on me and I have to defend against that. On the other hand, they have to be pretty agnostic when it comes to the type of content they enable and that gives me free and anonymous access to pretty much anything I want.
I Spotlighted for Java Preferences and when I started it I was told that Java will be downloaded. After Lion downloaded and installed Java the Java Preferences started.
IntelliJ et al works as expected.
You don't need to do these manual step the article suggests(for running Java apps). (See comment below when you need to do these steps)
"Finder used to know how to handle this file but now it doesn't. Please select the application to use for this type of file."
and
"This requires the Java runtime which isn't installed. Hit this button and we'll download it, install it, and then re-open this for you once it's working."
That said, I think that it sure would be nice if my OS already came with Java. But I use Java every day, so maybe I'm biased.
For those of you who are worried about Apple needing to spend a few of the billions of dollars it has in the bank on paying a couple engineers to maintain security patches, it doesn't have to be the Apple or Oracle one either. OpenJDK would be fine.
I'm a bigger fan of having Oracle deal with the porting since they have a much larger interest in getting java working everywhere well and securely than Apple has in keeping java working on their platform.
The problem in the JVM's case is that Apple made some intricate changes to the JVM to better integrate with OS X / Cocoa - like the look and feel and other integration stuff. A JVM with default Swing implementation on a Mac, without these changes, would have never been used at all - it just doesn't go with a Mac.
These changes are not going to be Open Sourced and the required OS level support for these changes is going to be deprecated. Which means whatever solution OpenJDK comes up with is likely going to be at the level of 'bare minimum' - enough to run server side apps and stuff and may be some horrible looking alien Swing Apps based on X11 or something.
There's the hold up I think - they need to come up with open source reimplementation of the integration bits without needing any OS/framework level hacks and that ain't no easy task!
But they do bundle Ruby 1.8.7.
You could argue that they didn't specify which ones, or make some interpretations of the vague statements involved, but let's all wait until it happens and then judge, eh?
They have already been open sourced and the OS support is not deprecated. http://openjdk.java.net/projects/macosx-port/
http://www.cultofmac.com/steve-jobs-explains-was-java-was-de...
"Java runtime at the same level, and it may even be removed from future versions of Mac OS X."
So, it's not really deprecated anymore. In fact, Java was updated a few times during the beta process.
Straight from the horse's mouth:
As of the release of Java for Mac OS X 10.6 Update 3, the Java runtime ported by Apple and that ships with Mac OS X is deprecated. Developers should not rely on the Apple-supplied Java runtime being present in future versions of Mac OS X.
The Java runtime shipping in Mac OS X 10.6 Snow Leopard, and Mac OS X 10.5 Leopard, will continue to be supported and maintained through the standard support cycles of those products.
http://developer.apple.com/library/mac/#releasenotes/Java/Ja...
At any rate, this is still not a reversal of any stance. Apple never said it would not ship a Java runtime for Lion (and iirc it has been this way in Lion for a long time), and it still isn't recommended that developers depend on this.
Even our Apple rep said it was deprecated and he sure as heck doesn't read Developer notes, so I'd have to assume he got the news through some other chain at Apple.
Perhaps other orgs were protesting as loudly as our org was.
What's more interesting (to me) is the remote satellite boot that's now feasible during Lion recovery (where your Mac can boot off software loaded from Apple's servers via the Internet), and additions such as the ability to perform a recovery boot that can go as far as to launch Safari and get to the Internet to access services or to research whatever has caused me to be in the recovery path.
This certainly looks to be an operating system that's moving out onto the web/cloud/Internet.
If you run `java` in the terminal, Lion detects this and automatically installs it.
http://www.macrumors.com/2011/07/22/adobe-retracts-claim-sug...