Thursday, 9 October 2014

how to get the execution directory path in java


//how to get the execution directory path in java


package com.vipul.org;

public class GetRuningPath {

/**
* @param args
*/
public static void main(String[] args) {
String classpath = System.getProperty("user.dir");
System.out.println("" + classpath);
}

}

No comments:

Post a Comment