i want a program to get the system information of current computer and all the computers in the same network...
include name of pc ....info about RAM,VGA,HD,...etc
and then save it in a file ....
plz if possible send me the source code "especially the code of how to get the system information....".
you can try using System.getProperty();
I hope that helps
yes you can try System.getProperty();
as Eku said but if u need more information than that then there is a command called "systeminfo" try running this command from java and get the results.
Yup that is a much better approach. more complete you just need it to extract from the command line ^_^
Oh, yeah, and cross platform it is, too!
Note the sarcasm.
This is not the sort of thing Java is meant for. If you insist on using Java for something like this, than be forewarned, it will need different versions (or at least different implementation classes) for the differing platforms. And writing and using a JNI interface for the varying systems would be a much better solution than doing anything "exec" related.
Edit: P.S. What the _blank_ does this have anything at all to do with databases (or even, more correctly, since this is what this forum is really about, JDBC)?