Bug: Typo, wrong Symlink path to JavaControlPanel.prefPane on Mac OS X port of JDK7 Update 6 Build 22

sierkb at gmx.de sierkb at gmx.de
Mon Aug 6 00:53:19 PDT 2012


Bug Report (Bug ID: 7189314):
==========


Synopsis:
-------------
Typo, wrong Symlink path to JavaControlPanel.prefPane on Mac OS X port of JDK7 Update 6 Build 22


Full OS version:
----------------------
Mac OS X Lion 10.7.4 (11E53)


Development Kit or Runtime version:
--------------------------------------------------
$ /usr/libexec/java_home --exec java -version
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b22)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)


Description:
----------------
The Symlink to the Preference Pane in /Library/PreferencePanes is set falsely by the installer. There is a typo in it which prevents the PreferencePane to be launched.

ATTENTION:

INCORRECT is (as time of writing):

sudo ln -s /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefpane /Library/PreferencePanes/JavaControlPanel.prefpane

CORRECT would be:

sudo ln -s /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefPane /Library/PreferencePanes/JavaControlPanel.prefPane

REMEMBER:
Remember the lower "p" (incorrect) versus the upper "P" (correct) in the word "prefpane" (incorrect) versus "prefPane" (correct) of the phrase "JavaControlPanel.prefPane"

This bug is part of the latest FCS-build of JDK7u6-b22 on
http://jdk7.java.net/download.html
http://www.java.net/download/jdk7u6/archive/b22/binaries/jdk-7u6-fcs-bin-b22-macosx-x86_64-01_aug_2012.dmg

as well as part of the official public OTN-builds on 
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1637583.html
http://download.oracle.com/otn-pub/java/jdk/7u6-b22/jdk-7u6-macosx-x64.dmg


Steps to Reproduce:
----------------------------
Install jdk-7u6-fcs-bin-b22-macosx-x86_64-01_aug_2012.dmg
or
jdk-7u6-macosx-x64.dmg

$ ls -l /Library/PreferencePanes


Expected Result:
-----------------------
lrwxr-xr-x   1 root  wheel   101  6 Aug 08:53 JavaControlPanel.prefPane -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefPane


Actual Result:
-------------------
lrwxr-xr-x   1 root  wheel   101  6 Aug 08:53 JavaControlPanel.prefpane -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefpane


Workaround:
------------------
$ sudo rm /Library/PreferencePanes/JavaControlPanel.prefpane
$ sudo ln -s /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/deploy/JavaControlPanel.prefPane /Library/PreferencePanes/JavaControlPanel.prefPane




More information about the jdk7u-dev mailing list