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:
There are also two discussion threads that discusses this and you can read these here:
Hope this helps!
Applications Engineer, National Instruments
Systems Engineering Manager, National Instruments Northern European Region