Error: Requirements check failed for JDK 1.8 or greater

Well ,I also met the same issue yesterday fixed at last , but some new errors occurred to me . Here is my jdk environment(vi .bash_profile in command ):

export JAVA_HOME=/Library/java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

Cordova 6.4.0 depends on java 1.8 ,so we have to update them .Emmm…Cordova 6.4.0 have problem in “splashscreen/SplashScreen.java uses” which will make you android app conclude icon and splash Ionic splash screen will not show in Android on brand new project.

So I think it’s better to use cordova 6.3.1 until cordova fix that issue
(My english is poor , never mind it~:wink:)

1 Like