I tried to develop a GUI interface in java for a c program i had developed and everything went right until when i tried to run the final code
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hello.so in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java :1700)
at java.lang.Runtime.loadLibrary0(Runtime.java:841)
at java.lang.System.loadLibrary(System.java:1067)
at HelloWorld.<clinit>(HelloWorld.java:6)
Error: Could not find the main class.
Error: A JNI error has occurred, please check your installation and try again
After that i searched a lot about how to set this java.library.path so that my shared library works well but all in vain .can anyone help me /????????