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

fix: shorebird finds different java from flutter #2657

Open
eseidel opened this issue Dec 5, 2024 · 0 comments
Open

fix: shorebird finds different java from flutter #2657

eseidel opened this issue Dec 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@eseidel
Copy link
Contributor

eseidel commented Dec 5, 2024

https://discord.com/channels/1030243211995791380/1314340830839832586

From the customer:

flutter doctor:

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0-rc3)
    • Android SDK at /Users/diegoescudero/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0-rc3
    • Java binary at: /Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment Zulu17.54+21-CA (build 17.0.13+11-LTS)
    • All Android licenses accepted.

shorebird doctor

Android Toolchain
  • Android Studio: /Applications/Android Studio.app/Contents
  • Android SDK: /Users/diegoescudero/Library/Android/sdk
  • ADB: /Users/diegoescudero/Library/Android/sdk/platform-tools/adb
  • JAVA_HOME: /Applications/Android Studio.app/Contents/jbr/Contents/Home
  • JAVA_EXECUTABLE: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
  • JAVA_VERSION: openjdk version "21.0.3" 2024-04-16
                  OpenJDK Runtime Environment (build 21.0.3+-79915917-b509.11)
                  OpenJDK 64-Bit Server VM (build 21.0.3+-79915917-b509.11, mixed mode)

Customer reports that this is their .zshrc:

export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-17.jdk/Contents/Home
export PATH="/Users/diegoescudero/.shorebird/bin:$PATH"

Looks like Shorebird is finding the wrong JAVA_HOME and java?

@eseidel eseidel added the bug Something isn't working label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant