The best freely available java client is from paho.

Download the latest version of org.eclipse.paho.mqtt.java and follow the instructions on how to run the sample code provided.