Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people's questions, and connect with other people.

Have an account? Sign In

Captcha Click on image to update the captcha.

Have an account? Sign In Now

Sign In

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

Sorry, you do not have a permission to ask a question, You must login to ask question.

Forgot Password?

Need An Account, Sign Up Here
Tech Answered Logo Tech Answered Logo
Sign InSign Up

Tech Answered

Tech Answered Navigation

  • Home
  • Tutorials
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • About Us
  • Blog
  • Contact Us
Home / Questions /Q 1216
Next
In Process
neha
neha

neha

  • India
  • 1 Question
  • 2 Answers
  • 0 Best Answers
  • 24 Points
View Profile
  • 0
neha
Asked: January 12, 20212021-01-12T18:08:47+05:30 2021-01-12T18:08:47+05:30In: Java

java error a jni error has occurred please check your installation and try again

  • 0

I am running a .jar file on my java environment and I encountered following error “java error a jni error has occurred please check your installation and try again”. How can i fix java error a jni error has occurred please check your installation and try again ? is anything wrong with my java installation ?

a java exception has occurreda jni error has occurred burp suitea jni error has occurred netbeansa jni error has occurred quarka jni error has occurred when running jara jni error has occurred xiaomi adberror: a jni error has occurred burp suitelaunch4j a jni error has occurred
  • 1
  • 10,586
  • 0
  • 0
Answer
Share
  • Facebook

    Related Questions

    • how to solve error illegal start of expression in java
    • write a program to calculate the electricity bill in java
    • How to insert data in java through database?
    • How to run java code in eclipse
    • What is null pointer exception in java?
    • javascript validation client side and submitting to database using webspring with example program
    • When to use volatile variable in Java?

    1 Answer

    1. jahnavi

      jahnavi

      • India
      • 0 Questions
      • 1 Answer
      • 0 Best Answers
      • 28 Points
      View Profile
      jahnavi
      2021-01-17T18:37:03+05:30Added an answer on January 17, 2021 at 6:37 pm

      If you have two java versions both Java jdk 12 and jre 8. so computer gets confused and the problem occurs. The solution was easy. Fix “java error a jni error has occurred please check your installation and try again” by following steps.
      Go to command prompt and check Java jdk and jre versions
      Type
      java – version 
      (It will return your Java version running)
      then Type
      javac -version
      (It will return Java version with which it is compiling)
      A program should be compiled and run using same version (ex=i.e Java 12) if not then try uninstalling a older version or change the path. 

              OR

      To fix this issue you need to edit your environment variable
      Search for edit environment variable in control panel then click on it

      There you can find path of your jdk 
      C:\Program Files\Java\jdk-13.0.1\bin. 

      If not then you need to edit or add a new path
      By clicking on “new” button

      Click “OK” and save all changes.

      • 4
      • Reply
      • Share
        Share
        • Share on Facebook
        • Share on Twitter
        • Share on LinkedIn
        • Share on WhatsApp
    Leave an answer

    Leave an answer
    Cancel reply

    Browse

    Sidebar

    Ask A Question

    More Questions

    • dynamicapps5

      how to solve error illegal start of expression in java

    • sita

      write a program to calculate the electricity bill in java

    • Himasree

      How to insert data in java through database?

    • Swathi

      How to run java code in eclipse

    • Swathi

      What is null pointer exception in java?

    • kiran kumar85

      javascript validation client side and submitting to database using webspring

    • Rashika

      When to use volatile variable in Java?

    • Aniya

      how to fix java error in tlauncher authentication

    Stats

    • Questions 1,992
    • Answers 2,102
    • Posts 12
    • Best Answers 73

    Related Questions

    • dynamicapps5

      how to solve error illegal start of expression in java

    • sita

      write a program to calculate the electricity bill in java

    • Himasree

      How to insert data in java through database?

    • Swathi

      How to run java code in eclipse

    • Swathi

      What is null pointer exception in java?

    • kiran kumar85

      javascript validation client side and submitting to database using webspring with example

    • Rashika

      When to use volatile variable in Java?

    • Aniya

      how to fix java error in tlauncher authentication

    Explore

    • Home
    • Communities
    • Questions
      • New Questions
      • Trending Questions
      • Must read Questions
      • Hot Questions
    • Polls
    • Tags
    • Badges
    • Users
    • Help

    Footer

    Recent Comments

    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • muller on how to solve export problem in kinemaster
    • AaronBlackburn on why can’t i find my message requests on instagram
    • shree on How to use philips citrus press juicer 25 watts Demo
    Ask A Question

    Archives

    Tags

    laptop buying guide (1) limit google news notifications (1) printer buying guide (1) stop google news notifications (1) turn off google news notifications (1)

    Social media

    © 2023 @ Techanswered.com.
    Terms, Privacy policy & Sitemap.

    Insert/edit link

    Enter the destination URL

    Or link to existing content

      No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.