Posted by joconner
on August 21, 2011 at 12:35 AM PDT
I recently installed Java 7 on my Mac OS X system. Although the installation went smoothly, I did run into one problem
I recently installed Java 7 on my Mac OS X system. Although the installation went smoothly, I did run into one problem that might not be a big issue for you.
I didn't go through the hassle of compiling it for myself. Instead, I opted to grab a precompiled JDK from here: http://code.google.com/p/openjdk-osx-build/downloads/list?q=label:Featured
Specifically, I chose the OpenJDK 1.7 universal (32/64 bits) from Mac OS X branch download. Then I ran the /Applications/Utilities/Java Preferences.app to 1) pull both 1.7 versions to the top of the list, and 2) select those 1.7 versions, and 3) unselect the 1.6 JDK I also have installed.
NetBeans seems to run just fine. I'm able to create a new target JDK for the IDE, etc.
$ which java
$ which jrunscript
script engine for language js can not be found