Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For windows Error: A JNI error has occurred, please check your installation and try again #292

Closed
drs357 opened this issue Jun 19, 2019 · 5 comments

Comments

@drs357
Copy link

drs357 commented Jun 19, 2019

Hello when I double click on the .jar file I get the error:

Error: A JNI error has occurred, please check your installation and try again

This is on a windows 10 machine, can someone please help me?

Thanks

@kpepper
Copy link
Member

kpepper commented Jun 19, 2019

What version of the Artemis software do you have installed?
If it's the latest (18.0.2) then you will need Java version 9 or above (ideally version 11.0.2) installed. Java can be downloaded from here: http://jdk.java.net/archive/

If you bring up a DOS window and type:

java -version

what version does it show?

You could also try right-clicking on the artemis jar and selecting Open with... Java.

@drs357
Copy link
Author

drs357 commented Jun 19, 2019

Thank you, I needed to update the jdk.

Thank you!

@drs357 drs357 closed this as completed Jun 19, 2019
@BMDeepak
Copy link

Same issue I am working with jdk 1.8.0_291

@mattbird567
Copy link

I too am experiencing the same problem. When i type java -version into cmd it returns:

java version "1.8.0_301" Java(TM) SE Runtime Environment (build 1.8.0_301-b09) Java HotSpot(TM) Client VM (build 25.301-b09, mixed mode)

When i try and open the Artemis.jar file howveer i am still getting theses two errors:

Error: A JNI error has occured, please check your installation and try again
A Java Exception has occurred

@kpepper
Copy link
Member

kpepper commented Aug 24, 2021

@mattbird567 - Later versions of Artemis do not work with Java 1.8 (your installed version). You will need to upgrade your Java version, e.g. Java 11 - see the download GitHub page for details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants