---
title: "Exception in thread \"main\" java.lang.UnsupportedClassVersionError: com/itrsgroup/collection/ca/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0)"
description: "The error java.lang.UnsupportedClassVersionError occurs when the netprobe uses an older Java version. To resolve it, use OpenJDK version 11 and update the netprobe startup script accordingly."
url: "https://docs.itrsgroup.com/docs/faq/geneos/12185413842461-geneos-exception-in-thread-main-java-lang-unsupportedclassversionerror-com-itrsgroup-collection-ca-main-has-been-compiled-by-a-more-recent-version-of-the-java-runtime-class-file-version-55-0/index.html"
---
## Problem/Error

When starting the probe; it is giving below error:

```
Exception in thread "main" java.lang.UnsupportedClassVersionError: com/itrsgroup/collection/ca/Main has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0
```

### Possible Cause

The error relates to the netprobe being configured with an older version of Java.

### Possible Solution

To fix this, you need to use OpenJDK version 11 (only) and configure the netprobe startup script accordingly.

## Related Articles

- [Configure the Java environment](https://docs.itrsgroup.com/docs/geneos/current/collection/netprobe/configuration/configure-the-java-environment/index.html)
- [Collection Agent setup](https://docs.itrsgroup.com/docs/geneos/current/collection/collection-agent/intro-to-ca/index.html#set-up-the-collection-agent)


