Check if java installed