Error: Error checking requirements for JDK 1.8 or higher for ion 2.1.8

I just updated the local machine settings, and now its settings -


******************************************************

Your system information:

Cordova CLI: 6.4.0 
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
ios-deploy version: Not installed
ios-sim version: 5.0.8 
OS: OS X Yosemite
Node Version: v6.2.2
Xcode version: Xcode 7.2 Build version 7C68



******************************************************

Now I get an error when I build for android (android ion collector) as-

Error: requirements check failed for JDK 1.8 or higher

Help is needed!!!

+4
source share
3 answers

I got a solution to this problem,

This means that I have an older version of the SDK, according to the new configuration, at least SDK-1.8 is needed to get the application build launching.

To do this, I downloaded the new version of the SDK here . And then updated my version of the SDK using this article .

, -

ionic run android 

.

+3

Ubuntu, :

sudo update-alternatives --config javac

.

java/javac , , : java JRE/JDK?

+6

, Cordova 6.2 ( ). 1.7 Java, . , 1,8 . , 6.3, . Snow Leopard 1.7 java, , Macbook, .

0
source

Source: https://habr.com/ru/post/1660673/


All Articles