How to change the default version of JDK on the Mac



Mac Java Preferences
On the Mac, there is an application called Java Preferences. You can use the Spotlight to find it. Launch the Java Preferences and in the Java Application Runtime Settings panel, drag the version of the JDK that you wish to use to the top. Save and restart any terminal applications that you may have had opened and you should be set.

3 Responses to “How to change the default version of JDK on the Mac”

  1. Mike Says:

    I recently converted to the wonderful world of Mac OSX and this page helped me out.

    Thanks.

  2. Migrating to Java 1.6 (Warning: Flex Builder/Eclipse wont work with it) | code zen Says:

    [...] but running the build file still did not work. After a few other events, including trying the Java Preferences Application without any luck, I finally found this post that basically talked about the CurrentJDK symlink that [...]

  3. OLIO - A Miscellany » OS X Java Versions Says:

    [...] How to change the default version of JDK on the Mac [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Follow

Get every new post delivered to your Inbox.