Having trouble with LCD display using java

I am trying to use the LCD display on the Dragonboard by using java UPM libraries.
I installed both java UPM and MRAA.
I tried running the code given in the GitHub that is given here example code

I got the program to compile but when I run I get the error “jhd1313mJNI_Init_failed”. I have tried using the LCD in both IC20 and IC21 and I cannot get it to work. Has anyone had success using java and the LCD?

Are you able to run the display with python or c ?

I got it work. I reloaded UNIX and then just added the java-upm and java-mraa libaries instead of trying to build them. I was then able to get the example code to work.