Hello!
I have never done this myself (worked with Java together with LabVIEW that is), but I found some useful information that hopefully will help you some.
First there is a KB that discusses this and you can read it here:
http://digital.ni.com/public.nsf/websearch/BEE812007BA2A9B486256BC80068A49A?OpenDocument
There are also two discussion threads that discusses this and you can read these here:
http://forums.ni.com/ni/board/message?board.id=170&message.id=44181&requireLogin=False
http://forums.ni.com/ni/board/message?board.id=170&message.id=97663&requireLogin=False
Hope this helps!
Regards,
Jimmie A.
Applications Engineer, National Instruments
Regards,
Jimmie Adolph
Systems Engineering Manager, National Instruments Northern European Region