在debian下安装eclipse,运行时出错"nojavavirtualmachinewasfoundaftersearchingthefollowinglocatio

下载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:”

目前创新互联建站已为上1000+的企业提供了网站建设、域名、网站空间网站运营、企业网站设计、紫金网站维护等服务,公司将坚持客户导向、应用为本的策略,正道将秉承"和谐、参与、激情"的文化,与客户和合作伙伴齐心协力一起成长,共同发展。

解决办法:

在debian中安装eclipse:
解压到某位置,此处为/usr/soft/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

[@more@]
文章题目:在debian下安装eclipse,运行时出错"nojavavirtualmachinewasfoundaftersearchingthefollowinglocatio
网站URL:http://bzwzjz.com/article/pishoi.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 移动网站建设 手机网站制作 成都网站设计制作公司 高端网站设计推广 网站制作报价 广安网站设计 自适应网站建设 成都网站设计 重庆电商网站建设 网站制作 外贸营销网站建设 手机网站建设 成都网站建设 网站建设公司 外贸网站建设 网站制作 成都网站建设 成都网站设计 成都网站制作公司 重庆网站设计 企业网站建设公司 外贸网站设计方案