urgent !!! path issue or Netscape issue?
in my application, I have some buttons to launch browser, under solaris environment, i used the following statement to launch netscape:
Runtime.getRuntime().exec( new String[] {"netscape", "http://www.sun.com"});
it works as in standalone application, but if i integrate it with some other applications( i launch my own application by using registration file in which i have one line : java -jar -Duser.dir=/opt/app myapp.jar)
it can launch my app, but when i click the button, it can't launch browser netscape.
i tried to type the command in terminal window:
netscape http://www.sun.com, it works.
i can make sure in my PATH env, netscape is included.
anybody has any clue about it?
Thanks for replying!!!!
-Frank

