Xbee java library with zigbee

Hi Team

I want to build a prototype using xbee java library with raspbee (or similar) zigbee stick on raspberry pi. Can I use XCTU to discover zigbee stick and communicate messages to other zigbee sensors from java using this library?

No, XCTU is its own program which does not use any additional lib files. Its Terminal function just allows you to create a socket to the COM port the radio is on. Then send standard ASCII or Hex characters back and forth over that com port.