-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
React-Native build ERROR: requires JDK11 or higher. Incompatible major version detected: '8' #33731
Comments
Maybe you have a specified path in your |
Are you sure you're actually using the Java 11 version you installed @Gabotron-ES? Do you have 2 versions of Java side-by-side? Are you using JEnv or any other version manager? |
I hit this problem too, but then did this to make it work:
|
Closing as the solution was already provided. The original reporter @Gabotron-ES is unresponsive so I assume the problem is resolved. |
Hi my friend ,could you please let me know where can you find this in VScode ? I could not find it at any file ..Thank you so much ! |
@DongjingZhong in android/app/build.gradle
|
Thank you so much Adam ! |
thank you so much))I solved problem |
Description
I downloaded java version 11 from here:
https://www.oracle.com/java/technologies/javase/jdk11-archive-downloads.html
I check my java version with java -version command wich prints:
But I'm still getting same error, why is it not recognizing new version?
My android build gradle file
My package.json file:
The text was updated successfully, but these errors were encountered: