Skip to content

Java 8 not supported #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
malbanesi-ascii opened this issue May 28, 2020 · 2 comments · Fixed by #14
Closed

Java 8 not supported #13

malbanesi-ascii opened this issue May 28, 2020 · 2 comments · Fixed by #14

Comments

@malbanesi-ascii
Copy link

Java 8 is not supported on release 0.0.3

Information:javac 1.8.0_181 was used to compile java sources

Error:(13, 41) java: cannot access com.datadoghq.datadog_lambda_java.DDLambda
bad class file: /Users/user/.m2/repository/com/datadoghq/datadog-lambda-java/0.0.3/datadog-lambda-java-0.0.3.jar!/com/datadoghq/datadog_lambda_java/DDLambda.class
class file has wrong version 55.0, should be 52.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

Version 55 corresponds to Java 11

@agocs
Copy link
Contributor

agocs commented May 28, 2020

Good catch. I'll fix this right away.

@agocs
Copy link
Contributor

agocs commented May 28, 2020

@malbanesi-ascii Okay, I've published 0.0.4 on jFrog Bintray. I downloaded the jar file to verify that it's compiled for version 52. Sorry about the inconvenience!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants