Get user's home directory in Java

public class H {
    public static void main(String[] args) {
        System.out.println(System.getProperty("user.home"));
    }
}

Comments

Popular posts from this blog