I discover Nim last month and I'm coding for the last 4 weeks on nim and the language is really great !!I'm exploring some modules and now I'm stock with jnim.
I'm trying to use jnim and understand how it's work. I downloaded the module to execute some tests but I get this error :
./test_example
/home/bruno/dev/nim/jnim/tests/test_example.nim(11) test_example
/home/bruno/dev/nim/jnim/jnim/private/jni_api.nim(39) initJNI
/home/bruno/dev/nim/jnim/jnim/private/jni_api.nim(69) initJNIThread
/home/bruno/dev/nim/jnim/jnim/private/jni_wrapper.nim(517) linkWithJVMLib
Error: unhandled exception: JVM could not be loaded [Exception]
There someone can know where I can found howto / documentation how to use jnim ?
TKs
Do you have JAVA_HOME defined in your path?
You can take a look at all the places it looks for a JVM to use here: https://github.com/yglukhov/jnim/blob/master/jnim/private/jvm_finder.nim