open doc file through java.
import java.awt.Desktop;
import java.io.File;
import java.io.IOException;
public class Test {
public static void main(String[] a) {
try {
if (Desktop.isDesktopSupported()) {
Desktop.getDesktop().open(new File("e:\\Naveencv.doc"));
}
} catch (IOException ioe) {
ioe.printStackTrace();
}
}
}