The Artima Developer Community
Sponsored Link

Java Answers Forum
RAM size, CD/DVD

1 reply on 1 page. Most recent reply: Mar 29, 2010 1:50 AM by Kondwani Mkandawire

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
ami choksi

Posts: 1
Nickname: amichoksi
Registered: Mar, 2010

RAM size, CD/DVD Posted: Mar 28, 2010 4:22 AM
Reply to this message Reply
Advertisement
I need your help. i am searching for a code in java which can give me system's hardware information and software e.g.
- OS
- CPU-type, speed
- RAM-size, current use, remaining
- Floppy drive-how many? which type?
- CD/DVD ram if available which type?
- Which softwares are available on system?
Linux has the command "lshw" but i want to get it through java. is it possible, if yes, can you please send me that coding?

when i search on net i found it as
System.getProperties();
but that doesn't provide the hardware information of RAM, CD/DVD etc. can u please help me?


Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Re: RAM size, CD/DVD Posted: Mar 29, 2010 1:50 AM
Reply to this message Reply
Use System.getProperties for your Operating System

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/System.html

Flat View: This topic has 1 reply on 1 page
Topic: Basic variable issue Previous Topic   Next Topic Topic: Is java.util.List faster than java.util.*

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use