ubuntu下安装eclipse

安装:

参考:https://blog.csdn.net/u013216156/article/details/78677740

 

解决eclipse找不到jdk的方法:

在eclipse目录下新建jre目录,并连接jdk下的jre/bin目录到该目录下。

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# 

 

posted @ 2018-04-28 11:58  xwdreamer  阅读(344)  评论(0编辑  收藏  举报