I'm no expert - but in the code fragment below - it looks like for
windows, the browser launcher is not a browser, but
rather just one of the command shell windows?
-Marshall
Michael Baessler wrote:
Hi,
when testing the annotation viewer some misconfiguration came up.
The annotation viewer has the possibility to use the browser to show
the annotation results. By default on Linux the "mozilla" browser is
used.
On "old" Linux systems, "mozilla" is correct to call, but I think on
newer Linux systems, "mozilla" was replaced with "firefox". I'm not an
expert for Linux systems and
I'm not sure if that is true for all. But if, we may should change our
code and initialize the static browser settings in BrowserUtil.java
/**
* An initialization block that determines the operating system and
the browser launcher command.
*/
static {
String osName = System.getProperty("os.name");
if (osName.startsWith("Windows")) {
if (osName.indexOf("9") > -1) {
__osId = WINDOWS_9x;
__browserLauncher = "command.com";
} else {
__osId = WINDOWS_NT;
__browserLauncher = "cmd.exe";
}
} else if (osName.startsWith("Linux")) {
__osId = LINUX;
__browserLauncher = "mozilla";
} else {
__osId = OTHER;
__browserLauncher = "netscape";
}
}
Do we have an expert that knows what is the best setting here?
-- Michael