eclipse scala failed to load the jni shared library

3)马克-to-win @ 马克java社区:之后再重新启动Eclipse,又报错:“failed to load the jni shared library”

这是由于刚下载的scala eclipse ide是64位,而我们过去的java home设置32位的jdk,下载一个64位的jdk,改一下就可以了。

32位java home:C:\Progra~2\Java\jdk1.8.0_144

64位java home:C:\Progra~1\Java\jdk1.8.0_131

(注意我的hadoop只能在32位jdk启动,所以先以32位jdk启动hadoop,之后用64位jdk,启动eclipse for scala,这样即可做java,也可做scala。)

更多请看下节:http://www.mark-to-win.com/index.html?content=Mydb/DBUrl.html&chapter=Mydb/SparkScala_web.html#failedtoloadjnilibrary

你可能感兴趣的:(eclipse scala failed to load the jni shared library)