Advertisement
blackpab

Lab1_z2

Feb 21st, 2017
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.82 KB | None | 0 0
  1. /*
  2.  * To change this license header, choose License Headers in Project Properties.
  3.  * To change this template file, choose Tools | Templates
  4.  * and open the template in the editor.
  5.  */
  6. package systemproperties44;
  7.  
  8. /**
  9.  *
  10.  * @author student
  11.  */
  12. public class SystemProperties44 {
  13.  
  14.     /**
  15.      * @param args the command line arguments
  16.      */
  17.     public static void main(String[] args) {
  18.         // TODO code application logic here
  19.         System.out.println("It's all logic properties:");
  20.         System.getProperties().list(System.out);
  21.         System.out.println("\nIt's USER NAME properties:");
  22.         System.out.println(System.getProperty("user.name"));
  23.        
  24.         System.out.println("It's java libary path properties:");
  25.         System.out.println(System.getProperty("java.library.path"));  
  26.     }    
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement