5 ms·
JRE & JDK now available to OS X developers
- kevinconroy 14y agoDirect links for downloading Mac OS X versions (*.dmg) JRE: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jre-7u6-macosx-x64.dmg http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jre-7u6-... JDK: http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-7u6-macosx-x64.dmg http://download.oracle.com/otn-pub/java/jdk/7u6-b24/jdk-7u6-...
- lnguyen 14y agoOracle downloads rely on a cookie being set after agreeing to the license. You'll need to start off here: JRE: http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.html http://www.oracle.com/technetwork/java/javase/downloads/jre7... JDK: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html http://www.oracle.com/technetwork/java/javase/downloads/jdk7...
- daniellockard 14y agoWorked just fine clicking the link to the DMG.
- lnguyen 14y agoYou may have an existing license-acceptance cookie depending on what else you might have done. Clear any oracle cookies and try again. You'll run into a fail page. (I've worked on scripting JDK installs so have had to go around this by coding the cookie into curl and wget calls)
- geoffhill 14y agoSo speaking just in terms of the JRE, is there any reason to download it from Oracle instead of Apple? A separate Oracle updating program is a much less elegant solution than the current Software Updates integration that Apple uses.
- ConstantineXVI 14y agoMain reason; the Apple JRE is still Java 6 (and will remain so for eternity).
- chc 14y agoApple has EOL'd its Java and told people to switch to Oracle's version. That's a pretty good reason IMO.
- kodablah 14y agoHere I am hoping for something like project jigsaw (or something else) to make it easy to modularize my applications and redistribute/install only the JRE pieces I need, and then I read "Starting with this release, JavaFX is now fully integrated into Oracle's Java SE implementation" So much for a less bloated runtime. I confess I am not sure how big of a size impact JavaFX has (and I'm reasonably sure it has no runtime impact).
- jpxxx 14y agoApple's already removed their own JRE from default OS X installs, demand-loading it only with explicit user authorization. Furthermore they've sent out recent security updates partially disabling applet loading in web browsers and disabling the JVM entirely if it hasn't been used in a long while. I think that the next step of completely shuttering Apple's JRE demand-loader will be a straight-up security win for most end-users, ensuring that only those who require Java have it.
- ryannielsen 14y agoPhotoshop and other Adobe apps have components written in Java. Without Java, those components will silently fail. Thus, the on-demand Java installation hooks will be present for as long as current versions of CS are supported on OS X. For reference, Adobe CS 3, released 5 years ago, is still supported by Mountain Lion: http://www.adobe.com/products/creativesuite/faq.html#a139_1299547751924 http://www.adobe.com/products/creativesuite/faq.html#a139_12... I suspect the on-demand Java installation process will be around for quite some time.
- jpxxx 14y agoAch, you're right. The extensions loader alone blows up on boot. It'd be infeasible to remove the Apple JRE from the field. So much for my pet theory.
- meta8609 14y agoWhat would I gain over Java6? I don't use java for anything, except, I have a couple of apps on my machine that make use of it.
- chc 14y agoJava 7 is faster in some cases. Also, some Java apps will require Java 7 — but obviously that doesn't apply to you if you aren't planning on using any new Java apps and those don't force an upgrade.
- pooriaazimi 14y agoSecurity enhancements, among other things. Though, of course, you know better than clicking 'yes' on a random trojan installer, so maybe you don't need the security updates.
- juiceandjuice 14y agoJava 7 has lots of enhancements for dynamic languages and some new things like NIO2 for asynchronous services (vert.x, for example, requires java 7)
- pjmlp 14y agoAs a user it only makes sense to keep up with security updates, to use applications that depend on Java 7, the JIT compiler is also faster. As a developer, even if some features got postponed to Java 8, it still has lots of nice new features to get your hands on.
- _djo_ 14y agoNote that the JRE installs to /Library/Internet Plug-Ins/JavaAppletPlugin.plugin only, so it cannot easily be used by Java desktop applications and appears to be for applets only. It also installs a System Preferences plugin that opens up a custom Swing-based settings panel that looks awful on a Retina MBP. It tries to replicate the look of the standard Apple Java Preferences app, but is confusing because it doesn't affect the system Java that you'd see when doing 'which java' from the command line. The installer script then sets the permissions on /Library/Internet Plug-Ins/JavaAppletPlugin.plugin to root:wheel. This is the same as the bundled Java installations.
- dekz 14y agoThis does seem weird to me, as you said the java executable by default gets installed to /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java. Whereas the java executable within the jdk package gets installed to /Library/Java/JavaVirtualMachines/jdk1.7.0_06.jdk/Contents/Home/bin/java.
- Zirro 14y ago"...custom Swing-based settings panel that looks awful on a Retina MBP." For those of us without Retina MBP's, could you upload a screenshot?
- _djo_ 14y agoSure: http://i46.tinypic.com/25qu9a9.png http://i46.tinypic.com/25qu9a9.png http://i47.tinypic.com/2hhq3ae.jpg http://i47.tinypic.com/2hhq3ae.jpg http://i47.tinypic.com/2j2xrm0.jpg http://i47.tinypic.com/2j2xrm0.jpg The images compressed a little on upload, so it actually looks even worse than in the image. The contrast between the sharp text everywhere else and the fuzzy Swing window is jarring.
- Yuioup 14y agoBuried in this press release is support for ARM (and the Raspberry Pi)
- mgkimsal 14y agodoes this require lion like the earlier beta installers did?
- mgkimsal 14y agoANSWER - requires Lion. Earlier betas indicated 'works on Snow Leopard', though I'm not sure how they tested it, because it never installed. Later site pages just said 'tested on Lion' or something like that. There was a google code site that offered built versions with installers that worked on Snow Leopard (supposedly) but I could never get those to install right either. Am I destined to have to upgrade to Lion/ML just to get Java7. ???
- dekz 14y agoFor those who want to know, here is what is inside the .pkg files within the DMG. If you want to have a custom install directory in a non OSX specific directory structure then you can extract the packages and it should work appropriately. JDK: https://gist.github.com/3353638 https://gist.github.com/3353638 JRE: https://gist.github.com/3353662 https://gist.github.com/3353662
- morganpyne 14y agoDoes anybody know how to integrate this into OSX so that it is known to the Java Preferences app ? (/Applicatons/Utilities/Java Preferences.app)
- osener 14y agoI've been using Oracle supplied JDK in the last five months and it's been always present there: http://cl.ly/image/07422e283m0G http://cl.ly/image/07422e283m0G
- morganpyne 14y agoThanks. I had only installed the JRE. When I installed the JDK it showed up in there for me too.
- osener 14y agoI'm not sure what is the news here, I've been using OS X for five months and one of the first things I did was to get JDK from Oracle. I understand that Apple has stopped distributing it and Oracle will be the standard source to get JRE and JDK but I don't get how it was unavailable before this press release. Am I missing something? Otherwise title is misleading.
- moondowner 14y agoThis made my day: "JavaFX 2.2 introduces full Linux support for both x86 and x64 systems."
- superchink 14y agoDumb question: are there any reasons not to install the updated JDK/JRE? E.g., any known backward compatibility issues or bad experiences anyone's encountered (aside from looking bad on a retina display)?