본문 바로가기

Programming/JAVA

System OS Check

public class OSCheck {

public static void main(String[] args) {

// TODO Auto-generated method stub

System.out.println(System.getProperty("os.name"));

}

}