Posted By:
Mandar_Pohnerkar
Posted On:
Friday, June 14, 2002 11:37 PM
hello, how do i open a web browser in linux through java program.? with the following code ,I can open a web browser (IE) in windows ,but same code fails to open any web browser in linux? try{ Runtime.getRuntime.exec("c:Program FilesInternet ExploreIEXPLORE http://www.hotmail.com");); } catch(Exception e){} so if i chage the parameters in exex() as exec("file:/usr/share/doc/HTML/index.html http://www.rediff.com"); this gives IOException .How do i overcome this problem? Thanking you Mandar
More>>
hello,
how do i open a web browser in linux through java program.?
with the following code ,I can open a web browser (IE) in windows ,but same code
fails to open any web browser in linux?
try{
Runtime.getRuntime.exec("c:Program FilesInternet ExploreIEXPLORE http://www.hotmail.com"););
}
catch(Exception e){}
so if i chage the parameters in exex() as
exec("file:/usr/share/doc/HTML/index.html http://www.rediff.com");
this gives IOException .How do i overcome this problem?
Thanking you
Mandar
<<Less