add java to the required packages