-
Notifications
You must be signed in to change notification settings - Fork 23
Description
Steps to reproduce
I followed the directions here (after cloning the repository and having Java installed): https://in3.readthedocs.io/en/develop/api-java.html#id1
Running build.sh produced man .class files. There were no errors. When I run "java -cp $IN3/build/lib/in3.jar:. GetBlockAPI" (or other Java programs besides GetBlockAPI), I get an error. I cannot run the compiled examples of this in3 Git repository.
Expected behavior
I expect the programs to run without errors.
Actual behavior
When I run "java -cp $IN3/build/lib/in3.jar:. GetBlockAPI", I get this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: in3/IN3
at GetBlockAPI.main(GetBlockAPI.java:12)
Caused by: java.lang.ClassNotFoundException: in3.IN3
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 1 more
System configuration
I am using Ubuntu 18.04 and OpenJDK 11.0.9.1.
Incubed version
I cloned this Git repository from the master branch.
Request
How do you run Java programs in the examples directory after you clone this Git repository and run the build.sh script?