安裝:html
參考:https://blog.csdn.net/u013216156/article/details/78677740ubuntu
解決eclipse找不到jdk的方法:eclipse
在eclipse目錄下新建jre目錄,並鏈接jdk下的jre/bin目錄到該目錄下。spa
root@ubuntu:/home/xwdreamer/eclipse# mkdir jre root@ubuntu:/home/xwdreamer/eclipse# ls artifacts.xml configuration dropins eclipse eclipse.ini features icon.xpm jre notice.html p2 plugins readme root@ubuntu:/home/xwdreamer/eclipse# cd jre/ root@ubuntu:/home/xwdreamer/eclipse/jre# ls root@ubuntu:/home/xwdreamer/eclipse/jre# ln -s /usr/local/lib/jdk1.8.0_92/bin bin root@ubuntu:/home/xwdreamer/eclipse/jre# ls bin root@ubuntu:/home/xwdreamer/eclipse/jre#