Also notice that the statement uses the back tick not a single quote (found with the tilde). Notice the use of the version listed above. Once we have these listed, we can use the following to install the version we want to use. By default I was using the 9.0.4 version. Next you want to see which version(s) of Java you have available, you can do this with the following command which returned the two versions listed below for me. Install the following through the standard. The Stepsįirst find the proper Java Development Kit which is a little confusing because the original error referred to installing JDK 1.8 which which is actually JDK8.
It took a bit of searching to find a concise explanation of how this is done on Mac OSx High Sierra. While working with Ionic and PhoneGap or let’s say anything related to Cordova, I ran into an error requiring Java JDK 1.8 which is required to run the build command.