OS: OS/2-eCS version 1.2 (working goes from 1.0 up to 2.2)
Java: OpenJDK Version 1.6.0 Build 27 (our latest)
Java program: BrowserLauncher2-1_3.jar
Bugs:
edu.stanford.ejalbert.exception.BrowserLaunchingInitializingException: one of the supported browsers must be installed: FireFox; Epiphany; Konqueror; Netscape; Opera; Mozilla; FireFox
at edu.stanford.ejalbert.launching.misc.UnixNetscapeBrowserLaunching.initialize(UnixNetscapeBrowserLaunching.java:200)
at edu.stanford.ejalbert.BrowserLauncher.initBrowserLauncher(BrowserLauncher.java:240)
at edu.stanford.ejalbert.BrowserLauncher.<init>(BrowserLauncher.java:216)
at edu.stanford.ejalbert.BrowserLauncher.<init>(BrowserLauncher.java:177)
at edu.stanford.ejalbert.BrowserLauncher.main(BrowserLauncher.java:274)
Setup:
java -Duser.home=drive:\utils\browserlauncher -jar BrowserLauncher2-1_3.jar drive:\firefox_3880\firefox.exe 2>browserlauncher-bugs-txt
Also tried:
java -Dbrowser.cmd="drive:\firefox_3880\firefox.exe" -Dbrowser.arg0="$url" -Duser.home=drive:\utils\browserlauncher -jar BrowserLauncher2-1_3.jar 2>browserlauncher-bugs-txt
drive: is in real a driveletter.
As every OS is going a different direction you get the problem that you can't adress a general setup. Why just not ask in the setup where the browser is, looks to me the most simple solution. Next solution is the argument -Dbrowser.cmd with -Dbrowser.arg0. But both are not implemented in a system which is designed to program once and run everywhere.
Next the problems of what is called "dll-hell". Every OS gets its share in this. We have the problem of libs ported from Unix with diferent setups. OS/2 can run next to each other, no problem, but has to be instructed to do so. This is done with a small kickoff program which starts the browser and is transparent to the browser but do set a few things right so ohter programs don't have a problem.
As many developers make use of your system its most east to put in both methods, one ask for it, two if oen is not possible with the arguments.
This would solve a lot of problems. Thanks.