i want to know why java haven't an API to get System informations like: Motherboard informations, HDD or CPU serial number, CPU clock, HDD size ..etc
Message was edited by: delljava
Thank you for your response.
for mthornton comments i think its good idea with mac adresses but put a lot of bugs to your application is not very good idea.
in conclusion for me i think that integrate api to get system information is good.
You can get the MAC addresses of network interfaces (as of Java 6).
The main use for this information (and the other data you wanted) is in the implementation of software licencing restrictions. Unfortunately this approach is not very secure and usually ends up causing problems for legitimate users. On line checks to a licence server tend to be more effective and don't need this system information.
Currently the most effective way to verify licence rules is to include enough bugs in your application that any users will regularly call your support line ...
Because almost nobody needs it and its very specific to the target system.
Ok thank you for your response.
i'm with for the second because java is platform independent but for the first i'm sorry i think is not a cause.
Further to linuxhippy's comment, I think that while there maybe someONE who needs it, half the people who think they need it don't or want it for the wrong reasons. I think this is a case of protecting people from their own stupidity. This is rarely a good reason for withholding an API (in case people misuse it) but here if you could access this sort of stuff, people are only going to find ways to abuse it or to implement completely uninformed optimisations based on what they can read about the system.
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Participation.
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.