import java.io.IOException;
import java.net.URI;
public class ExecTest {
public static void main(String[] args) throws IOException {
String siteweb = "http://www.mesexemples.com";
Desktop desktop = Desktop.getDesktop();
desktop.browse(new URI(siteweb));
}
}