to launch netscape from a java GUI on Windows NT

Hi!I have some problems to launch netscape from my application. I searched and tried some tracks but it was unsuccessful. If someone could help me, I thank him by advance. Muriel
[212 byte] By [mezelin2000] at [2007-9-26 1:29:52]
# 1
Look here: http://www.javaworld.com/javatips/jw-javatip66.html
jsalonen at 2007-6-29 1:27:09 > top of Java-index,Archived Forums,Java Programming...
# 2

import java.io.*;

public class Tryout {

public Tryout() {

}

public void go() {

Runtime rt = Runtime.getRuntime();

try {

Process newProcess = rt.exec("C:\\Program

Files\\Netscape\\netscape.exe c:\\PathofMyForm\\MyForm.html" );

}

catch (IOException ioe) {

}

}

public static void main(String[] args) {

Tryout tryout = new Tryout();

tryout.go();

}

}

// see Process and Runtime classes for other methods.

// the format of Runtime.exec(String command) is:

// rt.exec("c:\PathOfNetscape.Exe C:\PathOfFile");

// Hope this helps.

// Justin

jmschrei at 2007-6-29 1:27:09 > top of Java-index,Archived Forums,Java Programming...
# 3
Hi jmschrei!I thank you, I didn't expect to receive an answer so quickly. I do not tryi it yet but I will reply this mail again to give the results. Otherwise, if it doesn't work, I thank you to give me a track to explore.Cheers,Muriel
mezelin2000 at 2007-6-29 1:27:09 > top of Java-index,Archived Forums,Java Programming...
# 4
Hi jsalonen!I thank you a lot. I didn't expect to receive an answer so quickly. I will try this. When I will have results, I will send another mail. Cheers,Muriel
mezelin2000 at 2007-6-29 1:27:09 > top of Java-index,Archived Forums,Java Programming...