Closed jigaoxiang closed 3 years ago
Hi,
Thanks for your interest in using Jasmine! Jasmine requires openjdk version 11 or higher, so I think there may be an error with how the dependencies were installed. Could you please verify that the java on your path is installed in the same conda environment as the jasmine executable (e.g., by running which java
and which jasmine
and seeing if they are in the same directory)? Alternately, you could try running conda install openjdk==11.0.9.1
to manually update the version of openjdk you have to the correct one.
I hope that helps! Melanie
Dear dr: Thank you for response! That is does the version of my java. When I install the last version of JDK, jasmine work well. thank you for this excellent tools.
best wishes!
Awesome, I'm happy to hear that fixed it for you! I'll go ahead and close this issue since it's working now, but please don't hesitate to reach out if you encounter any other issues!
Best, Melanie
Just adding here for future users that I found this error when I did not have the bioconda channel added to conda. So I install jasmine with conda install -c bioconda jasminesv
and found this opendjk error, since some dependency will be then missed.
If instead the conda channels are added directly with conda config --add channels bioconda
and conda config --add channels conda-forge
and then jasmine is installed through conda install jasminesv
the error is not present.
Thank you for sharing that! I have updated the README's installation instructions to include the additional step of adding the channels, so hopefully that will make it easier for future users and help them avoid the JNI error.
Melanie
Dear doctor: sorry to bother you. I installed jasminesv use
conda install jasminesv
. but when I conductjasmine -h
,these is an error happened as the follow showing. And I checked the version of my java and javac, they are same. I have no idea to deal with this issue, hope for your suggestion.this the error meassage: