Got Arduino 1.0 64bit version working on ubuntu.
SoftwareSerial library can only work Arduino1.0 IDE.
The two Arduino with Xbee are able to talk to each other, and sending/receiving signal back and forth between them.
server.c can send/receive signal to/from one Arduino with Xbee.
client.java can send/receive signal from Server.c.