Proper settings for Java invocation.