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

Cannot run app ( Default winit on Pixel 2) #120

Open
ghost opened this issue Feb 12, 2023 · 1 comment
Open

Cannot run app ( Default winit on Pixel 2) #120

ghost opened this issue Feb 12, 2023 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 12, 2023

Hello.
I'm unable to run the template winit app on my Pixel 2 ( DivestOS )
log: https://pastebin.com/raw/EzXWhSpf
Any ideas?

@onkoe
Copy link

onkoe commented May 13, 2023

The error/exception Unsupported class file major version 63 has something to do with Java 19 being unsupported somewhere in that pipeline. Try updating your Java version:

  1. Get the newest version of Java for this project:
  • Fedora: sudo dnf install java-latest-openjdk
  • Ubuntu: sudo apt install openjdk-19-jdk -y
  • macOS: brew install openjdk@19
  • Windows: use WSL buuuut winget install -e --id Oracle.JDK.19
  1. Switch to that Java version
  • Most Linux distributions: sudo update-alternatives --config java
  • macOS/Windows: uhhhh probably somewhere in your settings
  1. Log out to finalize the changes. Try the build again! It should work fine :)

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

No branches or pull requests

1 participant