3) Mark to win @ mark Java community: then restart eclipse and report an error: “failed to load the JNI shared library”
this is because the scala eclipse ide just downloaded is 64 bit, while our Java home used to set a 32-bit JDK. Download a 64 bit JDK and change it
32-bit Java home: C: \ progra ~ 2 \ Java \ jdk1.8.0_ 144
64 bit Java home: C: \ progra ~ 1 \ Java \ jdk1.8.0_ 131
(note that my Hadoop can only be started on the 32-bit JDK, so start Hadoop with the 32-bit JDK first, and then start eclipse for Scala with the 64 bit JDK, which can be used as Java or Scala.)
see the original text for more details. The article is reproduced from: https://blog.csdn.net/qq_ 44596980/article/details/93217193