Export Java opts so they are actually effective.