Oracle JDK and JavaFX SDK now GA on Mac OS X

Oracle JDK 7 and the JavaFX 2.1 SDK are now available for Mac OS X. This release is a major milestone in our effort to bring Oracle Java to Mac. From this point on, every release of Oracle JDK 7 and JavaFX 2.1 (and later) will be available on Mac at the same time as for Linux, Windows and Solaris.

Where do I download the JDK and JavaFX for OS X?
From java.oracle.com. The JDK download also contains the Java FX SDK.

Exactly what does this release contain?
A fully compatible implementation of Java SE 7, as well as most JDK development tools and the full JavaFX 2.1 SDK. Some of the serviceability and debugging tools and deployment technologies such as the Java Plugin and Web Start are not yet available, and will be added in subsequent releases. See the JDK release notes and the JavaFX release notes for details.

Does Oracle support NetBeans for use with JDK 7 on Mac?
Yes! NetBeans 7.1.2 was released simultaneously with JDK 7 Update 4, with full support for Oracle JDK on Mac. See the announcement here, and download it here.

Are there any known issues with this release?
Mac OS X is major new platform for us; the first new platform added in a very long time. It should be considered a "1.0" release and there are a number of known issues. Consult the release notes (JDK, JavaFX) for details.

What do I do if I believe I have found a new issue?
Consult the release notes first to ensure that it is not a known issue. You can ask for help to verify and troubleshoot on the appropriate mailing list or web forum, and then file a report in our bug system.

Is the source code to the OS X port available?
Yes! All code for the JDK can be found in the OpenJDK community in the JDK 7 Updates project. JavaFX is partially open sourced in the OpenJFX project; Oracle is working towards open sourcing the remaining parts.

What Apple hardware and what versions of OS X are supported?
Oracle's JDK and JavaFX release supports OS X Lion on any 64-bit capable Intel-based Mac. Specifically, our implementation is 64-bit only so it requires a 64-bit operating system.

Can I use the Oracle JDK on older OS X versions?
Probably not. The underlying issue here is that the Oracle JDK requires certain APIs that Apple introduced in Lion. The functionality introduced in these new APIs did to some extent exist in older OS X versions but were not official APIs.

What if I want a 32-bit JVM, or support for older PPC-based Macs?
There are community efforts based on OpenJDK to build JDK 7 for other configurations, easily found using your favorite search engine. We applaud these efforts! :-)

Can I get commercial support for the Oracle JDK and JavaFX on Mac OS X?
These are considered standard Oracle releases and are therefore covered under the Java SE Support program. Note that support on Mac is for development only; e.g. we don't expect your Mac to be running a business critical server-side application...

What can you say about the roadmap?
Future release of the Oracle JDK and JavaFX on Mac will follow the normal JDK release train with 4-6 releases every year. The next major milestone is JDK 7 Update 6 where we plan to add support for Plugin and Web Start. Early access builds are available here. JDK 8 will of course also support Mac OS X.

Comments:

And now all we need is for Apple to actually allow 'deprecated' technologies such as Java in AppStore...

Posted by guest on April 29, 2012 at 11:55 AM PDT #

Hi guest - Apple does not disallow Java in the App Store. However, they do not allow an App Store app to rely on any preinstalled functionality except what is present in the OS. If you want to ship your Java app through the Mac App Store, you will have to create a package consisting of your app and a JRE and upload it to Apple as a single unit. We explicitly allow redistribution of the Oracle JDK and JRE in such scenarios; see the license that you accept when you download the JDK for details.

Posted by Henrik on April 30, 2012 at 11:55 AM PDT #

Hi,

Glad GA is out but the support for 10.7 only is a bit of a shame for me: I was on the cusp of an upgrade of my project to JDK7 but my dev MacBook is doing fine and I have no need to suffer the disruption of an upgrade to it yet.

Any prospect of a back-port to 10.6?

Rgds

Damon

Posted by Damon Hart-Davis on May 01, 2012 at 11:13 AM PDT #

Regarding 10.6, the Mac releases will support whatever the current OS is plus one version before that at the time of first release. For 7u6, which is the main user release, that will be OS X 10.8, so we've decided to start with 10.7.3 as a baseline. There are community-built versions of the JDK that will work with OS X 10.6 -- http://code.google.com/p/openjdk-osx-build/ is a good place to look.

Posted by Scott K. on May 01, 2012 at 03:16 PM PDT #

Sorry to trouble you again, but in running my app test suite against JDK7 I ran across what looks to be an ugly latent color space bug between libjpeg and calls to it from Java which now results in an exception because of better argument validation at the interface between them. I suspect that the problem been there for years and seems to have been the reason that I had weird problems generating JPEGs from ARGB images for example. I'm not sure which the right mailing list would be (though I have signed up to the OpenJDK 'quality' list). I even have a workround... B^>

Rgds

Damon

Posted by Damon Hart-Davis on May 09, 2012 at 10:47 AM PDT #

Damon,

The best list to report the problem that you describe is the java2d list. This issue could be related to having LCMS code rather than KCMS code for color management.

You can subscribe to the mailing list here:
http://mail.openjdk.java.net/mailman/listinfo/2d-dev

Thanks for testing and reporting the bug

Posted by Aurelio Garcia-Ribeyro on May 10, 2012 at 03:13 PM PDT #

Is there anyway to get the latest Java 7 runtime for Mac and PC installed on a machine with one simple installer? It seems for Mac that you have to download and install the SDK is that correct?
(software update obviously is no longer an option)
This includes coming to the Oracle site and clicking on buttons to agree with terms and conditions etc.

How am I supposed to deploy my JavaFX apps to Mac users who don't have Java installed?
If I am a developer and I'm getting confused about this ... how are my customers, who've never heard of Java going to run my app?

Adobe have Java dependencies for some of their apps and use a simple auto-installer for the Runtime ... is there a simple way of doing this?

Bundling an embedded JRE is not an option as it takes my app from a 1MB download to 95MB ... not a workable solution.

Posted by cryptoguru on May 14, 2012 at 05:55 PM PDT #

Post a Comment:
Comments are closed for this entry.
About

Henrik Stahl is VP of Product Management in the Java Platform Group at Oracle, and is responsible for product strategy for Java ME and SE.

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today