JDK-7162440 : Oracle JDK installed on Mac is displayed with Vendor = Undefined and name = OpenJDK
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 7u4
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: os_x
  • CPU: x86
  • Submitted: 2012-04-18
  • Updated: 2012-10-01
  • Resolved: 2012-04-26
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7u4 b21Fixed
Description
After installing JDK 7u4 on Mac the Apple's Java Preferences dialog lists Oracle's JDK as OpenJDK 7 and Vendor as UNDEFINED

It should be Java SE 7 and vendor should be Oracle Corporation, like in our docs: http://content.oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html

This current naming is coming from Info.plist set after JDK installation

Comments
EVALUATION jdk 7u4 b21 the very last build for mac only, resolved thsi problem. no code changed, only makefile changed, no script changed
26-04-2012

SUGGESTED FIX Patches: ============================================ diff --git a/make/common/Release-macosx.gmk b/make/common/Release-macosx.gmk --- a/make/common/Release-macosx.gmk +++ b/make/common/Release-macosx.gmk @@ -35,8 +35,8 @@ MACOSX_SRC = $(JDK_TOPDIR)/src/macosx BUNDLE_ID ?= net.java.openjdk -BUNLDE_ID_JRE ?= $(BUNDLE_ID).jre -BUNLDE_ID_JDK ?= $(BUNDLE_ID).jdk +BUNDLE_ID_JRE ?= $(BUNDLE_ID).jre +BUNDLE_ID_JDK ?= $(BUNDLE_ID).jdk BUNDLE_NAME ?= OpenJDK $(JDK_MINOR_VERSION) BUNDLE_NAME_JRE ?= $(BUNDLE_NAME) ============================================== and in jdk/make/closed ============================================== diff --git a/common/Defs.gmk b/common/Defs.gmk --- a/common/Defs.gmk +++ b/common/Defs.gmk @@ -24,3 +24,9 @@ SHARE_JDK_DOC_SRC = $(CLOSED_SHARE_SRC)/doc/jdk SHARE_JRE_DOC_SRC = $(CLOSED_SHARE_SRC)/doc/jre endif + +# Set the bundle vendor and name so they are picked up on Mac OS X. +BUNDLE_VENDOR=Oracle Corporation +BUNDLE_NAME=Java SE $(JDK_MINOR_VERSION) +BUNDLE_INFO=Java SE $(JDK_VERSION) +BUNDLE_ID=com.oracle.java.$(JDK_MINOR_VERSION)u$(JDK_UPDATE_VERSION) ==============================================
18-04-2012

SUGGESTED FIX There are build variables to set which govern these values in the Info.plist BUNDLE_VENDOR="Oracle Corporation" BUNDLE_INFO_JDK="Java SE 7" (according to an email from scott.kovatch)
18-04-2012