×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Massimo Zappino
Added: Mar 8, 2011 11:28 AM
Views: 156
  1. public class Example {
  2.  
  3.     public static void main(String[] args) {
  4.  
  5.         System.out.println("Home directory: " + System.getProperty("user.home"));
  6.     }
  7. }
  8.