added directories for erlang and java and set up shell for java