adds option to include java