Originally posted by vishwas bhatt:
Code ("but not working") :
Runtime rt = Runtime.getRuntime();
rt.exec("c:\\jdk1.2.2\\bin\\java.exe");
If your problem centers around a new console window not opening itself for you, this will work on WinXP (and I think one or two flavors of NT - but I don't think all Windows operating systems):
rt.exec("cmd /c start c:\\jdk1.2.2\\bin\\java.exe");
Good Luck.