[kepler-dev] [Bug 2809] New: - Browser Display actor fails for Mac/Linux

Glen Jarvis glen at glenjarvis.com
Fri Apr 6 12:17:14 PDT 2007

    I tested this on the 5th of April's nightly build. It worked  
perfectly! In fact, instead of launching my default web browser, it  
launched Apple's Preview. That's very impressive.

    When I first started this discussion, I had seen the error message  
that we couldn't execvp a command that launched Netscape. I "guessed"  
that different command line options were executed depending upon the  
results of a call to determine what Operating System was running.  
Included in that "guess" was an assumption that no work was done to  
look at default browsers on a system. I felt this would be shaky  
because things would "break" at random times when browser defaults  
changed. My "guess" could never have been more wrong.

    Clearly I didn't understand the approach that was taken. From the  
bug description, I see there is code  
(ptII/ptolemy/actor/gui/BrowserLauncher.java) that launches the  
default browser. My background is Unix and C. I don't have a strong  
Java background. From the discussions I read, I can only guess that  
the JVM and Java framework has some type of call to launch an external  

    Regardless, this integrated very well and works beautifully. The  
more I learn about Kepler, the more I'm impressed with both it and  
it's Ptolemy roots.

Warmest Regards,

Glen Jarvis
glen at glenjarvis.com

"You must be the change you wish to see in the world." -M. Gandhi

More information about the Kepler-dev mailing list