Unfortunately OpenJDK gives me headaches (
eclipse crash in PDT and java applets not starting) in everyday work and I had to switch to OracleJDK (at least for now).
OpenJDK is a dependency on multiple Arch Linux packages so just installing Oracle’s JDK wasn’t enough.
First had to remove icedtea-web
sudo pacman -R icedtea-web
Then build Oracle JRE AUR package,
Before installing OracleJRE I had to remove
openjdk6 manually and ignore dependencies:
[argy@Freak jre]$ sudo pacman -Rdd openjdk6
sudo pacman -U jre-7u2-1-i686.pkg.tar.xz
Build and Install JDK AUR package:
sudo pacman -U jdk-7u2-1-i686.pkg.tar.xz
Logout and Login so the PATH gets updated and we are ready to go.
UPDATE: Actually Eclipse crashing had nothing to do with OpenJDK or PDT, but an issue with the installed xulrunner. Workaround available here: 6.1 Autocompletion and javadoc render crash