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.
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.
http://www.theregister.co.uk/2010/10/21/apple_threatens_to_k...
Deleted comment
3.7 GB (that’s the size of the download) are still a lot and keeping the size of downloads as small as possible is certainly a valid goal.
I think Apple shaved off about one GB or so compared to what they pressed on DVDs and that’s certainly noticeable for many people. My parents’ house (in Germany) has this really awful DSL connection, more than 4,000 kbit/s are just not possible. Having to download 1 GB less would save them over thirty minutes. (Downloading merely 3.7 GB would take them over two hours.)
Making stuff only few people use optional is still a great idea when you want people to download it. Not everyone has FIOS.
Apple's been squeezing out the bloat for several years, I believe, with the intention of doing digital downloads of OS in the future.
This implies the Mac App Store has been in the planning stages since around 2007-2008 or so (when Snow Leopard development likely started.)
Then again, an apt-get upgrade once a week is a lot more efficient than a 4G monolith every year :)
It’s certainly noticeable, there are really annoying slowdowns when someone watches a YouTube video and someone else tries to browse the web. The problem is probably that in my parents’ house the internet connection is often used by more than one person. When I’m downloading something I can sort of deal with a video that takes longer to load, but when someone else causes my video to take longer to load, well that’s annoying.
Maybe they should switch to cable.
There's a reason people felt in love with everything Apple does: they took attention to details at heights nobody in this industry did.
But I also think a couple hundred megs of data is not the only reason -- but more to do with wanting to cut dependencies to other companies (Apple does that frequently). Once upon a time Java was one of the preferred methods for writing Mac OS apps: Apple clearly doesn't want that anymore.
Apple just doesn't see enough benefit in continuing their own JVM development. The primary reason that Java was the preferred method was purely because of the portable nature of Java code, and the fact that Mac OS9 and OSX didn't really have enough marketshare to make full ports feasible. Since OSX has a fairly decent marketshare at this point, it's an easier argument to make a native port over multiplatform, portable code like Java.
One of the issues with Java on OSX was that, most of the time, you couldn't actually code to the latest version of Java, because Apple was months(or even years) behind on implementing new JVM and Java language specs.
It took Apple about a year and a half to update their JVM to 1.6 after that was released. Here's a timeline for Apple's historical Java releases:
http://stuffthathappens.com/blog/2007/10/28/os-x-java-defini...
Java 6 support was released in May, 2008: http://support.apple.com/kb/ht1856
Given that history, and the fact that iOS is primarily objective C, it's really no surprise that Apple decided to depreciate the JVM from their OS.
After launching Minecraft (which needs Java) I had to confirm one dialog box. Java downloaded, installed and Minecraft launched. No user interaction required, it was completely painless.
I’m not sure why you are so hung up on Java. It’s certainly obscure enough to make it optional. Languages could certainly also be removed but OS X always had this philosophy of shipping every app and every OS with every language. There are no language versions of apps and Apple doesn’t like them.
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!
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?
But they do bundle Ruby 1.8.7.
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.
Deleted comment
Seems like Lion removed Java to me!
You are a perl guy, what are you doing reading articles about Java anyway? ;-)
Linkbait :)
http://www.macrumors.com/2011/07/22/adobe-retracts-claim-sug...