make sure /tmp has correct permissions
Add java installer