Results 1 to 5 of 5
  1. #1
    hidar is offline Member
    Join Date
    Jun 2008
    Posts
    1
    Rep Power
    0

    Exclamation database+network

    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....".
    Thanks...

  2. #2
    Eku
    Eku is offline Senior Member
    Join Date
    May 2008
    Location
    Makati, Philippines
    Posts
    234
    Rep Power
    7

    Default

    you can try using System.getProperty();

    I hope that helps
    Mind only knows what lies near the heart, it alone sees the depth of the soul.

  3. #3
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    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.
    To finish sooner, take your own time....
    Nivedithaaaa

  4. #4
    Eku
    Eku is offline Senior Member
    Join Date
    May 2008
    Location
    Makati, Philippines
    Posts
    234
    Rep Power
    7

    Default

    Yup that is a much better approach. more complete you just need it to extract from the command line ^_^
    Mind only knows what lies near the heart, it alone sees the depth of the soul.

  5. #5
    masijade is offline Senior Member
    Join Date
    Jun 2008
    Posts
    2,571
    Rep Power
    9

    Default

    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)?
    Last edited by masijade; 06-30-2008 at 09:08 AM.

Similar Threads

  1. [SOLVED] executing java over network
    By jmHoekst in forum New To Java
    Replies: 6
    Last Post: 06-30-2008, 05:58 PM
  2. best Java Network API to use?
    By San_Andreas in forum Networking
    Replies: 1
    Last Post: 04-30-2008, 08:42 PM
  3. How to get URL from network machine
    By Mir in forum Networking
    Replies: 1
    Last Post: 04-02-2008, 12:08 AM
  4. Using Applets for network connection
    By bugger in forum New To Java
    Replies: 0
    Last Post: 11-19-2007, 05:16 PM
  5. Non Blocking Network
    By mathias in forum Networking
    Replies: 1
    Last Post: 08-07-2007, 06:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •