Re: Java method Runtime.getRuntime().exec fails on HP-UNIX to start netscape.
From: Tris Orendorff (triso_at_remove-me.cogeco.ca)
Date: 08/13/04
- Next message: aljo_ribw: "Method as parameter of other method in Java?"
- Previous message: Chris Uppal: "Re: Out of scope reset"
- In reply to: Jakir: "Re: Java method Runtime.getRuntime().exec fails on HP-UNIX to start netscape."
- Next in thread: Tor Iver Wilhelmsen: "Re: Java method Runtime.getRuntime().exec fails on HP-UNIX to start netscape."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 13 Aug 2004 18:08:20 GMT
jakir@coolgoose.com (Jakir) wrote in
news:f787ed40.0408130736.86f19e8@posting.google.com:
> Yes the problem is if I change netscape to some other program it works
> fine.
>
> Netscape is installed and I am able to start netscape from command
> shell. Netscape is in my path .....also I tried to give the complete
> path but doesn't work.
Perhaps you have an alias in your shell for netscape. What happens when you use "which netscape" or
"whence netscape"?
Also, change "System.out.println("Failed to execute.\n");" to "e.printStackTrace()" so you can get some
info from an exception; if one happens.
-- Sincerely, Tris Orendorff -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d++ s+:- a+ C+ UL++++ P+ L+ E- W+ N++ o- K++ w+ O+ M !V PS+ PE Y+ PGP t+ !5 X- R- tv--- b++ DI++ D+ G++ e++ h---- r+++ y+++ ------END GEEK CODE BLOCK------
- Next message: aljo_ribw: "Method as parameter of other method in Java?"
- Previous message: Chris Uppal: "Re: Out of scope reset"
- In reply to: Jakir: "Re: Java method Runtime.getRuntime().exec fails on HP-UNIX to start netscape."
- Next in thread: Tor Iver Wilhelmsen: "Re: Java method Runtime.getRuntime().exec fails on HP-UNIX to start netscape."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|