0

I want to get some specific system information such as; processor speed, processor family, OS version (ex: "5.1 Service pack 1"), color depth, system directory.

Do you have any idea?

cerezza
  • 251
  • 3
  • 14
  • duplicate of: http://stackoverflow.com/questions/25552/using-java-to-get-os-level-system-information – Russell Gutierrez Oct 10 '12 at 12:03
  • See also [this answer](http://stackoverflow.com/a/7616206/418556). – Andrew Thompson Oct 10 '12 at 12:21
  • Of course, getting this type of information will require a trusted applet. – Andrew Thompson Oct 10 '12 at 12:31
  • i read all about System.getProperties() and the previous questions. @RussellGutierrez However, there is no answer to my question. I want to get computer's color depth, Processor speed(xxx GHZ), Processor name (like Computer->Right Click->Properties window) and the name of OS(Not just Windows 7 but also Windows 7 Service Pack 1 etc.) – cerezza Oct 10 '12 at 13:28

1 Answers1

1

Use System.getProperties() which returns java.util.Properties Object. This contains all the system properties. Have a look the Java API for more and see all the needed properties are available for you.

sakthisundar
  • 3,278
  • 3
  • 16
  • 29