United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6652483 After installation of JDK6u5 on Solaris 8 or Solaris 9 fails to launch desktop browser
JDK-6652483 : After installation of JDK6u5 on Solaris 8 or Solaris 9 fails to launch desktop browser

Details
Type:
Bug
Submit Date:
2008-01-18
Status:
Closed
Updated Date:
2010-05-07
Project Name:
JDK
Resolved Date:
2008-01-18
Component:
install
OS:
solaris_9,solaris_8
Sub-Component:
servicetags
CPU:
sparc
Priority:
P3
Resolution:
Not an Issue
Affected Versions:
6u5
Fixed Versions:
6u5

Related Reports

Sub Tasks

Description
On Solaris 8, install JDK6u5 b10.
At the end of installation of JDK6u5 default desktop browser is not launched.
On Solaris 9 GNOME is part of the system. Gnome library (/usr/lib/libgnomevfs-2.so) can be found in /usr/lib. The underlying problem seems to be that the mozilla browser is not installed by default.

                                    

Comments
WORK AROUND

Launch browser by typing command /usr/dt/bin/netscape and load the offline register page $JDK_HOME/register.html for registering JDK.
                                     
2008-01-18
EVALUATION

On Solaris 8 the default desktop is CDE therefore Gnome is
not installed by default, Gnome is required for java.awt.Desktop
to operate correctly.

From:
http://java.sun.com/docs/books/tutorial/uiswing/misc/desktop.html

"Use the isDesktopSupported() method to determine whether the Desktop API is available. On the Solaris Operating System and the Linux platform, this API is dependent on Gnome libraries. If those libraries are unavailable, this method will return false. After determining that the Desktop API is supported, that is, the isDesktopSupported() returns true, the application can retrieve a Desktop instance using the static method getDesktop() ." 

The underlying reason is that the  Registration uses java.awt.Desktop 
which uses gnome's gnome_url_show to display the browser, this method is 
available in the  library libgnomevfs-2.so.0, and this library
is missing on the test system nyny.sfbay.

There is really nothing that can be done from a registration standpoint 
other than document the workaround above.
                                     
2008-01-18



Hardware and Software, Engineered to Work Together