corrected checking if #java should be included