Add profile file for JAVA_HOME variable

The file /etc/profile.d/override_java.sh needs to get sourced manually (e.g. in /etc/bash.bashrc) but it's better than doing everything by hand I think

Signed-off-by: Constantin Runge <uroc327@cssbook.de>