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

0 votes
Hi, Can anyone help me for getting "Error: A JNI error has occurred, please check your installation and try again" when running the jar file through the Jenkins pipeline
Sep 17, 2020 in Jenkins by anonymous
• 19,600 points
4,430 views

1 answer to this question.

0 votes

In my case, the issue was caused by the JDK version

To solve this I suggest going into your pom file and check the <jdk.version>1.7</jdk.version>.

Afterward check the java version in your cmd(windows) or terminal ( OSX or LINUX ) by typing: java -version.

Compare the version shown in the terminal\command prompt with what you have in your pom file. 

Make sure they are the same. Then run your project again.

answered Sep 17, 2020 by Kim

Related Questions In Jenkins

0 votes
1 answer

I’m facing a login error when I try to run Jenkins on Docker. How do I solve this?

You have to open the /var/log/jenkins/jenkins.log file to ...READ MORE

answered Jul 24, 2018 in Jenkins by Sophie may
• 10,590 points
2,200 views
0 votes
0 answers

I am unable to install packages on jenkins it was showing "An error occurred during installation: Forbidden"

Please let me know how to fix ...READ MORE

Dec 9, 2021 in Jenkins by anonymous
• 120 points
321 views
+2 votes
3 answers

Permission denied error while running a simple job in Jenkins

Hey @Hannah, try changing the permissions using ...READ MORE

answered Oct 25, 2018 in Jenkins by krishti
40,573 views
0 votes
1 answer

Error saying "localhost:3001error" When trying to run a build - Jenkins

There are two possible issues with this ...READ MORE

answered Dec 19, 2018 in Jenkins by Kalgi
• 52,350 points
606 views
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,771 views
+2 votes
1 answer
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP