As of May 2, 2022 the LabJack forums have been set to read-only.
If you are in need of support, please contact us via one of the methods described on our contact page.
I upgraded to Netbeans 9.0 since it was transferred to Apache from Oracle. Now Netbeans 9.0 is only compatible with Java 10 and forward. Will this work with the Labkack Java wrappers?
Our LJM and newer UD Java wrapper should be compatible with Java 10, though we last tested with Java 8. If you find some Java 10 incompatibles let us know and we can look into it further. Note that LJM supports the LabJack T7 and T4, and the UD supports the LabJack U3, U6 and UE9.
As for our old UD wrapper and U12 wrapper which are JNI based, they will work with 32-bit Java only, and may work with Java 10. They are no longer updated, and provided as is.
I was having problems with Netbeans 9/ Java 10 not recognizing or loading netbeans 8.2 projects. The netbeans 9 IDE did not even recognize an netbeans 8.2 project folder.
Because of this I have changed back to netbeans 8.2 and Java 1.8.0_181.
Now the project build has errors with import com.labjack.labjackud.LJUD; saying package does not exit.
I have attached a png file of my project folder layout.
This call will fail when using ljud.jar since it is not available. Older code using LJUDJava.jar will need to be updated for the ljud.jar interface. Both interfaces are similar. Check one of the examples to see how your code will need to be updated (JNA data types are used, exceptions for errors, a constants class, etc.).
Our LJM and newer UD Java wrapper should be compatible with Java 10, though we last tested with Java 8. If you find some Java 10 incompatibles let us know and we can look into it further. Note that LJM supports the LabJack T7 and T4, and the UD supports the LabJack U3, U6 and UE9.
As for our old UD wrapper and U12 wrapper which are JNI based, they will work with 32-bit Java only, and may work with Java 10. They are no longer updated, and provided as is.
I was having problems with Netbeans 9/ Java 10 not recognizing or loading netbeans 8.2 projects. The netbeans 9 IDE did not even recognize an netbeans 8.2 project folder.
Because of this I have changed back to netbeans 8.2 and Java 1.8.0_181.
Now the project build has errors with import com.labjack.labjackud.LJUD; saying package does not exit.
I have attached a png file of my project folder layout.
You are using the newer wrapper from ljud.jar, which uses imports:
import com.labjack.LJUD;
import com.labjack.LJUDException;
The older wrapper LJUDJava.jar uses the import:
import com.labjack.labjackud.LJUD;
This call will fail when using ljud.jar since it is not available. Older code using LJUDJava.jar will need to be updated for the ljud.jar interface. Both interfaces are similar. Check one of the examples to see how your code will need to be updated (JNA data types are used, exceptions for errors, a constants class, etc.).