need ideas for how to name incremental jdk builds to be findable by /usr/libexec/java_home
Scott Kovatch
scott.kovatch at oracle.com
Fri Feb 24 11:02:38 PST 2012
Are you building the JDK yourself? If so you want to set
export JDK_UPDATE_VERSION=04
and then you'll see
Matching Java Virtual Machines (2):
1.7.0_04, x86_64: "OpenJDK 7" /Library/Java/JavaVirtualMachines/jdk1.7.0_04.jdk/Contents/Home
-- Scott K.
On Feb 24, 2012, at 10:51 AM, Stephen Bannasch wrote:
> I tried naming a openjdk built today from the jdk70-dev forest 1.7.0-2012_02_24.jdk -- but the jdk isn't displayed in The "Java
> Preferences" application. Presumably because the initial designation '1.7.0' is shadowed because of the existing 1.7.0.jdk.
>
> $ /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, x86_64: "OpenJDK 7" ~/Library/Java/JavaVirtualMachines/1.7.0-2012_02_24.jdk/Contents/Home
>
More information about the macosx-port-dev
mailing list