Java Archive (JAR) Files - how do I get the Hardware/System information through java

HiThis is raj. Can any body plz help me, how to get the Hardware Information like MAC address/Ethernet Card address/Hard Disk Unique ID through a Java Program or a ServletThanks in Advance,Ur Raj
[235 byte] By [rajajaxa] at [2007-11-26 23:18:56]
# 1

Java do not provides this kind of information. One way, without using JNI, is to launch an external utility and interpret the output.

In Windows, "arp -a" will return the MAC addresses of all adapters that have TCP/IP bound to them and have recently (default < 5 mins) resolved an IP address. Otherwise, in NT/2K/XP, "ipconfig /all" will return all relevant network info for IP-bound adapters, including the MAC address (displayed as "physical address").

In Linux, "ifconfig" does something similar.

hth

java_2006a at 2007-7-10 14:21:15 > top of Java-index,Desktop,Deploying...