You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
Incubed Configuration
Chain
The text was updated successfully, but these errors were encountered:
Thank you for reaching out. It is a little unclear to me how you are running the code. You said you clonned the git repository from master but pasted the command line command. Have you generated the .jar from master?
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:
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?
Incubed Configuration
Chain
The text was updated successfully, but these errors were encountered: