Adam Bien's Weblog

Friday Apr 27, 2012

Java SE Development Kit 7 (JDK)--Released For Mac OS X

Oracle releases Java SE Development Kit 7 (JDK 1.7u4) for Mac OS X. It is the first official Oracle release for Mac OS X. See Release Notes.

JAVA_HOME can be set by putting the following line into the ~/.profile file:
export JAVA_HOME="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home"

NetBeans 7.1.2 was simultaneously released as well. Also Java FX 2.1 is available for Mac and Windows to download.


NEW: Java EE 7 Testing and Quality Workshop

A book about rethinking Java EE Patterns

Comments:

You should use "JAVA_HOME=`/usr/libexec/java_home`" instead on a Mac and then set the current jdk via "Java Preferences.app".

Posted by B.Walker on April 27, 2012 at 05:42 PM CEST #

export JAVA_HOME=$(/usr/libexec/java_home) in .bash_profile is not working for me

Posted by Vineet Bhatia on April 27, 2012 at 11:29 PM CEST #

Since I updated to JDK7 on my Mac (Mountain Lion), every operation with Glassfish became slow, i.e: start-domain, stop-domain, restart-domain, even list-domains. This is the case from Netbeans and on the command line. On top of that Netbeans 7.3 is behaving weirdly when I use some shortcut like code format (CTRL+SHIFT+F). I get ª symbol added in the editor.

Anything like this?

Posted by Pierre Francis Roy on April 15, 2013 at 05:51 AM CEST #

Post a Comment:
  • HTML Syntax: NOT allowed
realworldpatterns.com
...the last 150 posts
...the last 10 comments
Links
License