• Post Reply Bookmark Topic Watch Topic
  • New Topic

Information  RSS feed

 
Atrus Greyor
Ranch Hand
Posts: 110
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I get information about the computer isstelf. I need to get RAM size, speed of processor, Hard Drive sixe ect. How do I do this??
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no API built into Java for this kind of information. You'd have to either invoke an OS-specific utility program to get the information, or use OS-specific native methods. There may well be an open-source Java library which implements one or the other of these ideas for several OSs -- perhaps someone else knows the specifics.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!