Identifying WiFi Access Points

I am looking for a command line application or programmatic solution that lists the essid and mac addresses of the wireless access points in range. I have tried many of the examples off of the internet, yet none of them seem to output the proper information after XP SP2 update. It seems that wmic may assist in this, but its unclear. There are a few libraries available, but all of them require the user to disable the zeroconf service. Is there any way to get the information about the access points in Java, or will I need to create a program in another language and send the information to the Java program I already have? I am willing to work in any language, so long as it prints to standard output, not a GUI.

[723 byte] By [RAPJRa] at [2007-10-3 3:29:41]
# 1
You need JNI and access to the 802.11a/b/g/n protocols.Not likely to be accessible via Java at this time.
watertownjordana at 2007-7-14 21:23:31 > top of Java-index,Core,Core APIs...