Home > DeveloperSection > Forums > How to open eclipse using java program?
Pawan Shukla
Pawan Shukla

Total Post:29

Posted on    October-29-2014 1:04 AM

 Java Java 

 1 Reply(s)
 850  View(s)
Rate this:
I tried to open eclipse with particular workspace using following program but its not working.

Runtime runTime = Runtime.getRuntime();

Process process = runTime.exec("eclipse.exe \"D:\\Research_&_development\"");

jacob rasel
jacob rasel

Total Post:88

Posted on    October-29-2014 1:06 AM

Use this code to open eclipse by your code:

class openEclipse {

    public static void main(String args[]) {

        try {


                    .exec("F:\\eclipse-standard-luna-R-win32-x86_64\\eclipse\\eclipse.exe -data D:\\new");

        } catch (Exception e) {






Don't want to miss updates? Please click the below button!

Follow MindStick