Tuesday, 26 August 2014

Get the Operating system architecture

use property "os.arch" to get the operating system architecture.

public class GetProperty {
    public static void main(String args[]){
        System.out.println(System.getProperty("os.arch"));
    }
}

Output
x86



                                                             Home

No comments:

Post a Comment