Could not determine java version from '10.0.2'
opened this issue · comments
Deleted user commented
I'm trying to execute react-native run-android
but I am encountering the following error:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine java version from '10.0.2'.
Running:
Kubuntu 18.04
Node 8.10.0
NPM 6.4.1
OpenJDK 10.0.2
Deleted user commented
Resolved by installing openJDK 8 and setting that as the default.
Boris Berak commented
Woah @BrianD91 - thanks for debugging and resolving that issue. I'm sure that will help others running non-Windows/non-Mac operating system. Much appreciated!