Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6652483
Votes 0
Synopsis After installation of JDK6u5 on Solaris 8 or Solaris 9 fails to launch desktop browser
Category java:sunservicetags
Reported Against b10
Release Fixed
State 11-Closed, Not a Defect, bug
Priority: 3-Medium
Related Bugs
Submit Date 18-JAN-2008
Description
On Solaris 8, install JDK6u5 b10.
At the end of installation of JDK6u5 default desktop browser is not launched.
Posted Date : 2008-01-18 18:18:09.0

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.
Posted Date : 2008-01-18 21:45:53.0
Work Around
Launch browser by typing command /usr/dt/bin/netscape and load the offline register page $JDK_HOME/register.html for registering JDK.
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.


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.
Posted Date : 2008-01-18 20:35:29.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang