Most filesystems don't store CRC checksums for every file, as recalculating CRCs every file write would be computationally expensive. This means there isn't a place to check for a file checksum, and Java therefore doesn't expose an API to do this.
@Thymine wrote an answer explaining why getting a checksum without reading a file is not possible in a similar question: https://stackoverflow.com/a/7812413
You can however, generate a checksum by reading the file as shown in this code example. But you probably already know this.
public static void main(String[] args) throws Exception {
byte[] data = Files.readAllBytes(Paths.get("path/to/file.ext"));
Checksum checksum = new CRC32();
checksum.update(data);
System.out.println("CRC32 Checksum: "+ checksum.getValue());
}