Open kkmurerwa opened 2 months ago
@kkmurerwa, per the information you have provided in the issue, What changes need to be made? Is it only updating the documentation to point to temurin instead of openjdk?
@adhiamboperes that is correct. The only change needed is switching from AdoptOpenJDK to Temurin.
@kkmurerwa, https://github.com/oppia/oppia-android/pull/4886 updates Bazel to 6.5, and openjdk11. Has support for adoptopenjdk11 also been deprecated?
Describe the bug
When working with the Bazel setup instructions for Mac, the step involving installing JDK 8 using AdoptOpenJDK and Homebrew no longer works and gives the error below.
This issue happens because the adoptopenjdk cask is being deprecated in favour of temurin.
Steps To Reproduce
Uninstall your AdoptOpenJDK8 and try to reinstall it using the instructions on step 3 of the Bazel Mac setup page.
Expected Behavior
I expect the installation to go on as expected.
To fix this issue, follow the steps below as described in the solution for this issue.
Untap the AdoptOpenJDK Cask
Update cask versions
Install Temurin in the place of the AdoptOpenJDK cask
Screenshots/Videos
No response
What device/emulator are you using?
Pixel 3a
Which Android version is your device/emulator running?
Android 10
Which version of the Oppia Android app are you using?
No response
Additional Context
To work on this Issue, you need a Macbook. Test out the wiki instructions and apply the suggestion in this issue. If it works, create a PR to update the wiki.
While working on this issue, be sure to note down any issues you encounter during bazel set up.