If you want to control Arduino from a Java application I suggest you to take a look to my library. www.ardulink.org
Luciano