jwhois
Ip to country. Whois made in Java. 3MB in Memory DB - totally fast!!
... - address) gives "All info like whois command" (Just only for RIPE's IPs - not all IP-addresses in the world)
Is only tested on Linux and Mac. But with the source code, it should not be hard to change the path's to Windows.
More info:
http://whois.less-is-more.dk/