[JAVA] What to do if you get a JNI shared library error when trying to build in Eclipse

It's amazing now, but if I try to play Java with Eclipse for the first time in a while, I got an error in the build, probably because the environment was wrong.

"Failed to load the JNI shared library "C:\java\bin..\jre\bin\client\jvm.dll"

How to solve it? I knew it if I googled it, but it was like a work memo.

A. Make sure that your PC environment matches your Java environment. It seems that it comes out when the PC is 64bit and Java is 32bit.

It was a little note.

Recommended Posts

What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if you get a gcc error in Docker
What to do if you get a DISPLAY error in gym.render ()
What to do if you get a java.io.IOException in GlassFish
What to do if you get a wrong number of arguments error in binding.pry
What to do when "Fail to load the JNI shared library" is displayed in Eclipse
What to do if you get a port error when docker-compose up on Mac
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
What to do if you get a "302" error in your controller unit test code in Rails
What to do if you get an error when you hit Heroku logs
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
What to do if you get a SQLite3 :: BusyException: database is locked error
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get Could not save master table to file after importing a project in Eclipse
What to do if you get an error in Basic authentication during Rails test code
[Java] What to do if you get an error in Eclipse saying "Not allowed at source level below 1.X"
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
What to do if you get an error during rails db: reset
What to do if you get an uninitialized constant Likes Controller error
What to do if tomcat process remains when tomcat is stopped in eclipse
What to do if you get an [An HTTP request took too long to complete.] Error in Docker.
What to do if you get a MiniMagick vulnerability alert on GitHub
What to do if you select a JRE in Eclipse and get "The selected JRE does not support the current compliance level 11"
What to do if you get an error with bundle install by entering gem'bcrypt' in your Gemfile
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if you get the error message unrecognized selector send to instance "***"
What to do if you get an error on heroku rake db: migrate
What to do if you accidentally create a model
What to do when a null byte error occurs
What to do if you get a javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake in the IBM JDK
What to do if you can't get the text of an element in Selenium
What to do if you get the error Couldn't find Item without an ID
What to do if you get an error saying Cannot find a valid baseurl for repo when you use yum -y install docker in a udemy course using CentOS7
[Rails] What to do if you get an error saying "Could not find a JavaScript runtime." When executing the rails s command on Catalina
What to do if mysql2 gets a bundle install error
What to do if you get an Argument Error: wrong number of arguments (given 2, expected 0) in your RSpec test
What to do if you don't see the test code error message in the terminal console
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
[Rails] What to do if you can't get an error message with the errors method
What to do when an UnsupportedCharsetException occurs in a lightweight JRE
How to make a jar with old Hadoop (hadoop-core-0.20.2-cdh3u6) in Gradle: (What to do if you get Could not expand ZIP ..)
What to do if you get angry with OpenSSL with pyenv install
What to do when you become a Problem During Content Assist
What to do when you run into a docker-compose node_modules problem
What to do if you forget the root password in CentOS7
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
[Rails] What to do if you can't get parameters with form_with
What to do if you go offline due to SSL certificate error when running Jenkins on Mac
What to do if you get "Changes not staged for commit:" when you git status after git add.
What to do if an error occurs when doing npm install axios in React + Typescript project
What to do when a javax.el.PropertyNotWritableException occurs
What to do if you install Ubuntu
[Android Studio] What to try when you get into error spitting hell
What to do if you can't install the plugin from the Eclipse marketplace
What to do and how to install when an error occurs in DXRuby 1.4.7
What to do if an error occurs when nokogiri enters when bundle install
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
What to do if you get Application with name appName is already registered. When you try to start GlassFish
What to do if the image posted by refile disappears after setting a 404 error page in Rails