You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/08 02:47:39 UTC

[GitHub] [cordova] domske opened a new issue #151: Failed to run "javac -version", make sure that you have a JDK version 8 installed.

domske opened a new issue #151: Failed to run "javac -version", make sure that you have a JDK version 8 installed.
URL: https://github.com/apache/cordova/issues/151
 
 
   # Bug Report
   
   ## Problem
   Failed to run "javac -version", make sure that you have a JDK version 8 installed.
   
   ### What is expected to happen?
   Just work, JDK 12 (openjdk) is installed correctly.
   I can run the command on the console.
   It should also work with 12, or not?
   
   ### What does actually happen?
   It does not work. But the jdk is installed. Not 8, but 12.
   Why is this a problem? Just try it.
   
   ## Information
   The whole Android enviroment and JDK, Ionic, Cordova etc. are installed.
   I can run Android apps on my physical phone. e.g. using Flutter and the Android Studio.
   
   ### Command or Code
   `ionic cordova run android`
   `javac -version` // javac 12.0.2
   
   ### Environment, Platform, Device
   Running Cordova 9 with native-run of Ionic 4 on Windows 10 64bit.
   
   
   ### Version information
   
   <details>
     <summary>Click to expand</summary>
   Ionic:
   
      Ionic CLI                     : 5.2.5
      Ionic Framework               : @ionic/angular 4.9.0
      @angular-devkit/build-angular : 0.801.3
      @angular-devkit/schematics    : 8.1.3
      @angular/cli                  : 8.1.3
      @ionic/angular-toolkit        : 2.0.0
   
   Cordova:
   
      Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
      Cordova Platforms : android 8.0.0
   
   Utility:
   
      cordova-res : not installed
      native-run  : 0.2.8
   
   System:
   
      NodeJS : v10.16.3
      npm    : 6.9.0
      OS     : Windows 10
   </details>
   
   ## Checklist
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org