Add Java Version Check

Add Check For Older Java Versions