系統(tǒng)之家 - 系統(tǒng)光盤下載網(wǎng)站!

當(dāng)前位置:系統(tǒng)之家 > 系統(tǒng)教程 > CentOS開啟Eclipse報錯Failed to load

CentOS開啟Eclipse報錯Failed to load the JNI shared如何解決?

時間:2015-04-02 16:47:12 作者:qipeng 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機(jī)瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150402/43865.html 手機(jī)查看 評論

  Eclipse是基于Java的開發(fā)平臺,在CentOS上啟動Eclipse的時候,很多朋友遇到了Eclipse報錯問題,導(dǎo)致Eclipse無法啟動,下面小編就給大家介紹下CentOS啟動Eclipse報錯的解決方法,一起來學(xué)習(xí)下吧。

 CentOS開啟Eclipse報錯Failed to load the JNI shared如何解決?

  報錯如下:

  Failed to load the JNI shared library “/home/java2000_wl/jdk/jdk1.6.0_41/bin/。。/jre/lib/i386/client/libjvm.so”。

  解決方法:

  修改 /etc/sysconfig/selinux 文件 禁止SELINUX選項(xiàng)

  # This file controls the state of SELinux on the system.

  # SELINUX= can take one of these three values:

  # enforcing - SELinux security policy is enforced.

  # permissive - SELinux prints warnings instead of enforcing.

  # disabled - SELinux is fully disabled.

  #SELINUX=enforcing

  SELINUX=disabled

  # SELINUXTYPE= type of policy in use. Possible values are:

  # targeted - Only targeted network daemons are protected.

  # strict - Full SELinux protection.

  SELINUXTYPE=targeted

  上面就是CentOS啟動Eclipse報錯的解決方法的相關(guān)介紹了,如果你遇到了Eclipse無法啟動的問題,可以參考Ubuntu不能啟動Eclipse怎么辦?

標(biāo)簽 CentOS Eclipse

發(fā)表評論

0

沒有更多評論了

評論就這些咯,讓大家也知道你的獨(dú)特見解

立即評論

以上留言僅代表用戶個人觀點(diǎn),不代表系統(tǒng)之家立場

其他版本軟件

熱門教程

人氣教程排行

Linux系統(tǒng)推薦

官方交流群 軟件收錄