Technote (troubleshooting)
Problem(Abstract)
When using Firefox 10.x or greater on linux, launchpad.sh fails with 'Unable to find supported browser' error.
Symptom
./launchpad.sh
cp: cannot stat `/root/ITCAM/install/launchpad/lib': No such
file or directory
cp: cannot stat `/root/ITCAM/install/launchpad/../jre': No such
file or directory
++ cat /root/ITCAM/install/launchpad/en/noBrowser.html
Unable to find supported browser
Cause
This has been identified as a product defect under APAR IV36499
Environment
ITCAM 07.30.01.00
Linux/Unix
Resolving the problem
launchpad.sh is included in the base install directory. Edit <install_directory>/launchpad/browser.sh,
and change:
supportedFirefoxVersion()
{
case "$*" in
*Firefox\ [1-9].*) return 0;;
*Firefox/[1-9].*) return 0;;
*Firefox*) return 1;;
*rv:1.[7-9]*) return 0;;
*rv:[2-9].*) return 0;;
*rv:*) return 1;;
Mozilla*\ 1.[7-9]*) return 0;;
Mozilla*\ [2-9].[0-9]*) return 0;;
*) return 1;;
esac
}
to
supportedFirefoxVersion()
{
case "$*" in
*Firefox\ [1-9].*) return 0;;
*Firefox/[1-9].*) return 0;;
*Firefox\ [1-9][0-9].*) return 0;;
*Firefox/[1-9][0-9].*) return 0;;
*Firefox*) return 1;;
*rv:1.[7-9]*) return 0;;
*rv:[2-9].*) return 0;;
*rv:*) return 1;;
Mozilla*\ 1.[7-9]*) return 0;;
Mozilla*\ [2-9].[0-9]*) return 0;;
*) return 1;;
esac
}
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.