For reference, the rxtx library (
http://users.frii.com/jarvi/rxtx/) works quite well with java. I've written software in the past that runs on all platforms supported by the library to control an automated photographic rig. As already mentioned though, since linux has many of the devices required for serial comms already built in, it's quite possible that it's easier to use those.