0

I'm just trying out ChronicleMap and have run into an issue immediately, an "UnsupportedClassVersionError: Unsupported major.minor version 52.0".

I'm using Java 7... should I interpret this error to mean that Chronicle Map is compiled under Java 8? Do I need to download the source code and compile under Java 7 to fix this (would this even work)?

Stephen C
  • 698,415
  • 94
  • 811
  • 1,216
Eric Lindauer
  • 1,813
  • 13
  • 19
  • As of 2018, the best solution would be to upgrade to Java 8 ... or Java 11. Java 7 has been EOL for a long time. – Stephen C Jun 22 '19 at 03:29

2 Answers2

5

I'm sorry:

ChronicleMap 1.0.2 requires Java 8; we realize this is causing problems so are looking to release ChronicleMap 2.0.0a (as an alpha release) in the next few days, which will work on Java 7:

<groupId>net.openhft</groupId>
<artifactId>chronicle-map</artifactId>
<version>2.0.0a</version>

Yes, if you were to download the source code and compile under Java 7 it will work, but you will have to build all the snapshot artifacts that it uses, or download them from:

<repositories>
    <repository>
        <id>Snapshot Repository</id>
        <name>Snapshot Repository</name>
        <url>https://oss.sonatype.org/content/repositories/snapshots</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
    </repository>
    <repository>
        <id>sonatype-nexus-staging</id>
        <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
        <releases>
            <enabled>true</enabled>
        </releases>
    </repository>
</repositories>
Paul Bellora
  • 54,340
  • 18
  • 130
  • 181
Rob Austin
  • 620
  • 3
  • 5
1

We have just released Chronicle Map 2.0.0a, this release works on java 1.7 ( unlike the previous version which required java 1.8 ). Data written and read using Chronicle Map 2.0.0a is not backwards compatible with the previous version of Chronicle Map. Chronicle Map 2.0.0a introduces custom serialisation. This version is an alpha release and as such we recommend you don’t use it in production.

Rob Austin
  • 620
  • 3
  • 5