I managed to automatize test equipment using SCPI commands via a TCP/IP socket with these instruments. However I would like to use the VISA library using Java on a Linux machine. Is there any way to use a VISA library with Java? Should I create my own library? Any information would be welcome. I am a bit confused about this topic.
Update: I created my own wrapper with JNI to be able to use from Java code the NI-VISA C Library. It worked well!
I am not aware of any VISA library for Java. National Instruments tends to be my first port of call for VISA things and they do not provide one. NI recommend building your own wrapper for the C DLL, which you could consider doing. This might not be overly onerous if you only need limited functionality.
Googling, I came across someone's project on Sourceforge where they have tried to do just that, using a Tektronix's VISA DLL - I think you may be able to use their jar file, even if you are not operating a Tektronix instrument. I had a brief look at the projects the guy mentions in "related projects", but I do not think they would be of any use to you, although I might be mistaken.