This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes SystemEnvironment Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "SystemEnvironment " Watch "SystemEnvironment " New topic
Author

SystemEnvironment

Aparna Sree
Greenhorn

Joined: Jul 21, 2010
Posts: 28

Hi,

I need to find Manufacturer Name of system and I am able to do it through below code



But does anyone know how this getSystemManufacturer api works? Is it getting the motherboard manufacturer or the assembler manufacturer or something else?
I wanted to understand what "system" manufacturer means, which part of system is actually considered here? How is java api getting it?

I have referred http://javasourcecode.org/html/open-source/jdk/jdk-6u23/com/sun/servicetag/SystemEnvironment.java.html but i couldn't find out how its setting the SystemManufacturer string.

Can anybody throw some light on this?

Thanks,
AP
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 18541
    
    8

I would start by reading the documentation. In fact I would have done that myself, except that SystemEnvironment doesn't seem to be part of the standard Java API. At any rate you should get the documentation from wherever you got the class from.
 
Consider Paul's rocket mass heater.
 
subject: SystemEnvironment