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,580 points
2,141 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,530 points
1,244 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
25,987 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,290 points
385 views
0 votes
1 answer

How do I know who has performed a particular operation in jenkins?

You can keep a log of who ...READ MORE

answered May 30, 2019 in Jenkins by Sirajul
• 58,990 points
3,101 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
947 views
+2 votes
1 answer
0 votes
1 answer