A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse for PHP Developers. No Java virtual machine
was found after searching the following locations:
/opt/eclipse-php/jre/bin/java
java in your current PATH
现在我所知道的就是没有安装JDK JRE 但我在网上也下载过类似jdk-7u1-linux-i586.tar.gz文件 但是安装不了出现
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
请大家帮助一下 我研究很久啦 还是不行!!!
------解决方案--------------------
http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
看我上次给你的教程
http://blog.csdn.net/phpnewnew/article/details/6926976
注意一下 文件名不要照抄.针对你上面的问题如下处理
1.重新下载java sdk
2.如果仍然出现上面错误提示
a.重命名 下载的文件xxxxx.tar
b.再执行解压命令: tar -zxvf xxxxx.tar