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

The desktop version is built for Java 20 #22

Closed
sproctor opened this issue Feb 15, 2024 · 2 comments · Fixed by #23
Closed

The desktop version is built for Java 20 #22

sproctor opened this issue Feb 15, 2024 · 2 comments · Fixed by #23

Comments

@sproctor
Copy link

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/dokar/sonner/ToasterStateKt has been compiled by a more recent version of the Java Runtime (class file version 64.0), this version of the Java Runtime only recognizes class file versions up to 61.0

I'm trying to use this in a project that uses Java 17. I'm not ready to update because some of the tooling breaks with 21.

Could you switch from Java 20 to 17?

@dokar3
Copy link
Owner

dokar3 commented Feb 16, 2024

Haven't noticed that, but sure, I'll update it on the next release.

@dokar3 dokar3 mentioned this issue Feb 16, 2024
@dokar3
Copy link
Owner

dokar3 commented Feb 16, 2024

The new version is targeting Java 11, it should work now.

@dokar3 dokar3 closed this as completed Feb 16, 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.

2 participants