Skip to content
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

Document JDK requirement #27

Merged
merged 1 commit into from
Jul 17, 2023
Merged

Document JDK requirement #27

merged 1 commit into from
Jul 17, 2023

Conversation

austek
Copy link
Owner

@austek austek commented Jul 17, 2023

Document JDK requirement, JDK17+

resolves #26

@austek austek self-assigned this Jul 17, 2023
@austek austek merged commit ed78eff into main Jul 17, 2023
@austek austek deleted the doc/requirements branch July 17, 2023 10:47
@mefellows
Copy link

How does this resolve #26? I'm not using any JVM runtime for the failure I have, do we need a new release that compiles on JDK17 or something (sorry for any awkward / stupid JVM related questions, it's been a while...)?

@austek
Copy link
Owner Author

austek commented Jul 17, 2023

To use the Avro plugin a JVM is required, your system must have a JVM installed and looks like to be 11

Avro plugin was compiled using JDK 17, as it requires matchers 4.6.x, which requires JVM 17+

java.lang.UnsupportedClassVersionError: au/com/dius/pact/core/model/matchingrules/expressions/MatchingRuleDefinition has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0

Class file version 61.0 is JDK 17 and 55.0 is JDK 11

@mefellows
Copy link

mefellows commented Jul 17, 2023 via email

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 this pull request may close these issues.

java.lang.UnsupportedClassVersionError in consumer test
2 participants