java error when running phidgets jar file
Posted: Fri Dec 14, 2018 5:07 am
I have tried various methods to install jre and jdk on Ubuntu 18 (Linux) according to directions posted, but no luck. It must be missing a file or have a file in a folder that can’t be found. I am getting a runtime error on a jar file compiled from a java program. The same exact setup of java program, on Ubuntu, jre and jdk worked on other computers, so something has changed in the version of java. I get this runtime error:
Couldn’t get Method ID from voltageRationInput_classException in thread “main” java.lang.NoSuchMethodError:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
etc…
someone suggested the jre and jdk for java, javac don’t match but that is not true. I keep uninstalling and reinstalling different methods with no luck. I suppose I could go back and find older version tar files if necessary.
Anyone have ideas of how to fix this?
Couldn’t get Method ID from voltageRationInput_classException in thread “main” java.lang.NoSuchMethodError:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
etc…
someone suggested the jre and jdk for java, javac don’t match but that is not true. I keep uninstalling and reinstalling different methods with no luck. I suppose I could go back and find older version tar files if necessary.
Anyone have ideas of how to fix this?