Some changes to update JAVA_HOME and user ENTRYPOINT

ENTRYPOINT doesn't seem to be working...