Check out example codes for "Failed to run "javac -version", make sure that you have a JDK version 8 installed. You can get it from the following location: https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html". It will help you in understanding the concepts better.

Code Example 1

%JAVA_HOME%\bin;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools;C:\gradle-5.4-all\gradle-5.4\bin

Learn ReactJs, React Native from akashmittal.com