I have an error trying to compile my apk using the command
ionic build android
The error I think was generated when java sent the update today and stayed as half installed, the error is this:
Error: Failed to run "java -version", make sure that you have a JDK installed. You can get it from: http://www.oracle.com/technetwork/java/javase/downloads. Your JAVA_HOME is invalid: C:\Program Files\Java\jdk1.8.0_73
It tells me to run the
java -version command, to make sure if the jdk is installed, and it throws me the following error:
Error: could not open 'C:\Program Files\Java\jre1.8.0_91\lib\i386\jvm.cfg'
Install the latest java version, but apparently there was some installation error. I leave here a screenshot of the console