search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
151 views
asked Geek 15.3k points 16 41 63

1 Answer

0 votes
public class Main {
  public static void main(String[] args) {
    String userHome = "user.home";
 
    String path = System.getProperty(userHome);
 
    System.out.println("Your Home Path: " + path);
  }
}
 
 
 
answered Expert 15k points 15 23 30

Related questions

0 votes
1 answer 115 views
115 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 109 views
109 views
asked smith Geek 15.3k points 16 41 63
0 votes
2 answers 953 views
953 views
asked rock Expert 15k points 15 23 30
0 votes
1 answer 85 views
0 votes
1 answer 113 views
113 views
asked augustaina Sr Member 4.8k points 10 25 31
...