PHPEclipse on Ubuntu Feisty 7.04
I switched to Ubuntu 7.04 recently (fresh install) and today wanted to start coding again after a few days of rest. Eclipse 3.2 started, PHPEclipse and Subclipse could both be installed via Eclipse without error messages - but it was impossible to open an existing PHP file.
After some headache and the good help of my best friend (Google), I found this thread in the Ubuntu Forums:
It led me to the file /etc/eclipse/java_home that just needed a new line to point to the correct version of the Java runtime.
# This file determines the search order the Eclipse Platform uses to find a
# compatible JAVA_HOME. This setting may be overridden on a per-user basis by
# altering the JAVA_HOME setting in ~/.eclipse/eclipserc.
/usr/lib/jvm/java-6-sun/
/usr/lib/jvm/java-gcj
/usr/lib/kaffe/pthreads
/usr/lib/jvm/java-1.5.0-sun
/usr/lib/j2se/1.5
/usr/lib/j2se/1.4
/usr/lib/j2sdk1.5-ibm
/usr/lib/j2sdk1.4-ibm
/usr/lib/j2sdk1.5-sun
/usr/lib/j2sdk1.4-sun
*argh*


