United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: 2224487 [macosx] Dock Icon defaults to Generic Java Application
2224487 : [macosx] Dock Icon defaults to Generic Java Application

Details
Type:
Backport
Submit Date:
2012-05-15
Status:
Closed
Updated Date:
2012-07-20
Project Name:
JDK
Resolved Date:
2012-07-20
Component:
client-libs
OS:
Sub-Component:
java.awt
CPU:
Priority:
P3
Resolution:
Fixed
Affected Versions:
Fixed Versions:
7u6

Related Reports
Backport:

Sub Tasks

Description
                                    

Comments
EVALUATION

There is indeed an issue with our code not honoring a bundle's icon. This issue manifests itself when using AppBundler and should be fixed.
SQL Developer, though, uses complicated procedure to launch itself: first, user clicks the .app, then a shell script gets launched, then an executable that, finally, launches "java" process. I've no idea how to distinguish this case for the case of user starting "java" executable via the command line. So, my recommendation is to add the following line to the sqldeveloper-Darwin.conf:

AddVMOption  -Dapple.awt.application.icon=../../../../../Contents/Resources/SQLDeveloperIcons.icns
                                     
2012-06-26
EVALUATION

The problem is that we don't take into account the fact that app icon may be specified within app bundle (via Info.plist)
                                     
2012-06-07



Hardware and Software, Engineered to Work Together