adding /etc/profile lines for JAVA, since it's not in /usr/bin and this creates problems to spark