Problems with JDK please help us
A Java Runtime Environment (JRE) or Java development Kit (JDK)
Must is 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
Now all I know is that I didn't install the JDK JRE but I downloaded a similar jdk-7u1-linux-i586.tar.gz file on the Internet but I can't install it.
Gzip:stdin:not in gzip format
Tar:child returned status 1
Tar:error isn't recoverable:exiting now
Please help me to study for a long time or not!!!
------Solution--------------------
Http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html
Look at the tutorial I gave you last time
http://blog.csdn.net/phpnewnew/article/details/6926976
Note that the file name is not copied. The above questions are addressed to you as follows
1. Re-download the Java SDK
2. If the above error message still appears
A. Renaming the downloaded file Xxxxx.tar
B. Re-execute the decompression command: TAR-ZXVF Xxxxx.tar