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

Build using Java8? #202

Open
4o4E opened this issue Jun 23, 2024 · 4 comments · May be fixed by #203
Open

Build using Java8? #202

4o4E opened this issue Jun 23, 2024 · 4 comments · May be fixed by #203

Comments

@4o4E
Copy link

4o4E commented Jun 23, 2024

I found that the dependency was built using Java11 when using Kaml, which makes it impossible for me to run apps that rely on this library on Java8

java.lang.UnsupportedClassVersionError: it/krzeminski/snakeyaml/engine/kmp/exceptions/MarkedYamlEngineException 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

@krzema12
Copy link
Owner

Ack, will take a look likely tomorrow, and prepare a patch release.

@krzema12 krzema12 self-assigned this Jun 23, 2024
@krzema12 krzema12 linked a pull request Jun 23, 2024 that will close this issue
@aSemy
Copy link
Collaborator

aSemy commented Jul 6, 2024

hi @4o4E, I'd like to find out more about why you need Java 8.

It's not so easy to support Java 8, because SnakeKMP has a dependency on a library that's compiled to Java 11.

Is updating to Java 11 possible in your situation?

@4o4E
Copy link
Author

4o4E commented Jul 6, 2024

hi @4o4E, I'd like to find out more about why you need Java 8.

It's not so easy to support Java 8, because SnakeKMP has a dependency on a library that's compiled to Java 11.

Is updating to Java 11 possible in your situation?

i am a bukkit plugin developer. my plugin support 1.12-latest ver minecraft, but 1.12 can only use java8(not minectaft, bukkit's limit)

@krzema12
Copy link
Owner

I've asked the owner of our dependency to support Java 8: ethauvin/urlencoder#18

@krzema12 krzema12 removed their assignment Oct 14, 2024
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.

3 participants