Add java envirament settings.