Detecting OS in Java 10:54 PM / Dhian Wicaksana / No comments There is just simple code to get operating system on your java Application. String os = System.getProperty("os.name"); System.out.print("my OS : "+os); if your OS is windows 8, the output will be : my OS Windows 8 Tweet Like It Google + Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment