JDK-6652483 : After installation of JDK6u5 on Solaris 8 or Solaris 9 fails to launch desktop browser
  • Type: Bug
  • Component: install
  • Sub-Component: servicetags
  • Affected Version: 6u5
  • Priority: P3
  • Status: Closed
  • Resolution: Not an Issue
  • OS: solaris_8,solaris_9
  • CPU: sparc
  • Submitted: 2008-01-18
  • Updated: 2010-05-07
  • Resolved: 2008-01-18
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 6
6u5Resolved
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
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.
18-01-2008

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