Debian下如何安装Eclipse

本篇内容主要讲解“Debian下如何安装Eclipse”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Debian下如何安装Eclipse”吧!

www.eclipse.org

下载eclipse-jee-ganymede-linux-gtk.tar.gz

安装:

在拷贝eclipse-jee-ganymede-linux-gtk.tar.gz/usr/soft/eclipse目录下,cd到该目录,执行:

tar -zvxf eclipse-jee-ganymede-linux-gtk.tar.gz

/usr/soft/eclipse下生成eclipse包,进入eclipse下,即/usr/soft/eclipse/eclipse下,执行./eclipse,将运行eclipse出错,提示:“no java virtual machine was found after searching the following locations:”

解决办法:

原因是没找到jre,解决办法是,进入/usr/soft/eclipse/eclipse目录,建立软连接,连接到jre

ln -s /usr/soft/java/jdk/jre jre

debiangary:/usr/soft/eclipse/eclipse# ln -s /usr/soft/java/jdk/jre jre

到此,相信大家对“Debian下如何安装Eclipse”有了更深的了解,不妨来实际操作一番吧!这里是亿速云网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!