Skip navigation

HT5493: About Java for OS X 2012-006

Learn about About Java for OS X 2012-006

HT5493 Java SE 6 update

442 Views 4 Replies Latest reply: Oct 17, 2012 11:23 AM by Sebastien Stormacq RSS
Sebastien Stormacq Level 1 Level 1 (65 points)
Currently Being Moderated
Oct 17, 2012 8:57 AM

Java users - Warning

 

Today's Java update remove the Java Preferences applications.  There is no way to define a default JDK - platform wise.

The newer JDK installed will be the default.

 

The system does honor JAVA_HOME in command line.

 

"un homme averti en vaut deux"

 

Seb

iMac, OS X Mountain Lion
  • Mark Jalbert Level 5 Level 5 (4,390 points)
    Currently Being Moderated
    Oct 17, 2012 10:26 AM (in response to Sebastien Stormacq)

    I remember some talk about the Java Preferences.app going away. Besides the fact that it is gone are you experiencing problems? In OS X 10.6 the Java Preferences.app is still there after the lastest update.

  • Mark Jalbert Level 5 Level 5 (4,390 points)
    Currently Being Moderated
    Oct 17, 2012 11:15 AM (in response to Sebastien Stormacq)

    Let's see if I can answer this in reverse order. I'm not using 10.8, so I can't test anything.

     

    - alternatively - what was doing Java Preference behind the scene to switch default's JDK ?

    Java Preferences would set the default JDK and fallback JDK's for GUI applications needing java. Setting the environment variable JAVA_HOME.

     

    My question is : how to force a default, platform-wide JDK, now that Java Preferences is gone ?

    Without knowing any security concerns this could be attained by setting JAVA_HOME in /private/etc/launchd.conf or possibly /private/etc/launchd-user.conf.

     

    Problem is to select a JDK to start an IDE like NetBeans or IntelliJ, without haveing to go through the command line ...

    A double clickable .command shell script or something wrapped in applescript may be a current workaround.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.