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

[BUG] Not compatible with temurin-19.jdk #2976

Closed
Drjacky opened this issue Jan 13, 2023 · 2 comments · Fixed by #2977
Closed

[BUG] Not compatible with temurin-19.jdk #2976

Drjacky opened this issue Jan 13, 2023 · 2 comments · Fixed by #2977
Milestone

Comments

@Drjacky
Copy link

Drjacky commented Jan 13, 2023

Information

  1. Apktool Version (apktool -version) - 2.7.0
  2. Operating System (Mac, Linux, Windows) - macOS
  3. APK From? (Playstore, ROM, Other) - Other

Stacktrace/Logcat

➜  ~ apktool --version
/usr/local/bin/apktool: line 3: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java: No such file or directory
/usr/local/bin/apktool: line 3: exec: /Library/Java/JavaVirtualMachines/temurin-17.jdk/Contents/Home/bin/java: cannot execute: No such file or directory
➜  ~ java -version
openjdk version "19.0.1" 2022-10-18
OpenJDK Runtime Environment Temurin-19.0.1+10 (build 19.0.1+10)
OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (build 19.0.1+10, mixed mode, sharing)
@Drjacky
Copy link
Author

Drjacky commented Jan 13, 2023

Uninstall temurin 19 and installed Temurin 17 and it works!

@iBotPeaches
Copy link
Owner

Yeah technically right now Apktool only tests against

java: [ 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 ]

This is getting challenging to support, as I increase the versions we exceeded the amount of allowable tests to run. So perhaps I need to drop the non-lts versions to support later ones.

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