2) Run program:
root@beaglebone:~/RemoteDigitalOutputTest/bin# java DigitalOutputTest
The result and error are in the following:=======
Digital output test!!!
Classpath=:/root/usr/lib/bulldoglib/bulldog.beagleboneblack.hardfp.jar
libarypath=/root/usr/lib/bulldoglib/libbulldog-linux::/usr/java/packages/lib/arm:/lib:/usr/lib
Exception in thread "main" java.lang.NoClassDefFoundError: org/bulldog/core/platform/Platform
at DigitalOutputTest.main(DigitalOutputTest.java:38)
Caused by: java.lang.ClassNotFoundException: org.bulldog.core.platform.Platform
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
... 1 more
I was testing DigitalOutputTest.
1) Setup path: export LD_LIBRARY_PATH=/root/usr/lib/bulldoglib/libbulldog-linux:$LD_LIBRARY_PATH export CLASSPATH=$CLASSPATH:/root/usr/lib/bulldoglib/bulldog.beagleboneblack.hardfp.jar
2) Run program: root@beaglebone:~/RemoteDigitalOutputTest/bin# java DigitalOutputTest
The result and error are in the following:======= Digital output test!!! Classpath=:/root/usr/lib/bulldoglib/bulldog.beagleboneblack.hardfp.jar libarypath=/root/usr/lib/bulldoglib/libbulldog-linux::/usr/java/packages/lib/arm:/lib:/usr/lib Exception in thread "main" java.lang.NoClassDefFoundError: org/bulldog/core/platform/Platform at DigitalOutputTest.main(DigitalOutputTest.java:38) Caused by: java.lang.ClassNotFoundException: org.bulldog.core.platform.Platform at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 1 more
What is the problem? Thanks. Eugene