need ideas for how to name incremental jdk builds to be findable by /usr/libexec/java_home (original) (raw)

Stephen Bannasch stephen.bannasch at deanbrook.org
Fri Feb 24 14:02:35 PST 2012


At 11:02 AM -0800 2/24/12, Scott Kovatch wrote:

Are you building the JDK yourself? If so you want to set

export JDKUPDATEVERSION=04 and then you'll see Matching Java Virtual Machines (2): 1.7.004, x8664: "OpenJDK 7" /Library/Java/JavaVirtualMachines/jdk1.7.004.jdk/Contents/Home

Thanks Scott, that worked:

$ /usr/libexec/java_home -v 1.7 -V Matching Java Virtual Machines (2): 1.7.0, x86_64: "OpenJDK 7" ~/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home 1.7.0_04, x86_64: "OpenJDK 7" ~/Library/Java/JavaVirtualMachines/1.7.0_04-2012_02_24.jdk/Contents/Home

BUT ... the new jdk still doesn't show up running this app:

/Applications/Utilities/Java\ Preferences.app

I'm on 10.6 ... and I realize the plan is to stop supporting the 'Java Preferences' app but I am surprised that the 1.7.0_04 JDK doesn't show up.



More information about the macosx-port-dev mailing list