Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Detect OS X JDK using /usr/libexec/java_home in startGrails #196

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
1 participant

On my machine, CurrentJDK is not updated to point to Java 7
when I change the Java Preferences list order.

Therefore, the current symbolic link checking method does
not work, and returns Java 6. Using /usr/libexec/java_home
seems to work (at least for me)

See "Java Home" here:
http://developer.apple.com/library/mac/#qa/qa1170/_index.html

Detect JDK using /usr/libexec/java_home
On my machine, CurrentJDK is not updated to point to Java 7
when I change the Java Preferences list order.

Therefore, the current symbolic link checking method does
not work, and returns Java 6.  Using /usr/libexec/java_home
seems to work (at least for me)

See "Java Home" here:
http://developer.apple.com/library/mac/#qa/qa1170/_index.html

@timyates timyates closed this Oct 28, 2013

@timyates timyates deleted the timyates:patch-1 branch Oct 28, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment