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/01/16 15:47:41 UTC

[GitHub] rtpHarry commented on issue #618: JDK Download Url Is 404 When Clicked In VsCode

rtpHarry commented on issue #618: JDK Download Url Is 404 When Clicked In VsCode
URL: https://github.com/apache/cordova-android/issues/618#issuecomment-454827798
 
 
   Prompt fix! I'm still going through the process though and it seems that the url is wrong anyway.
   
   After installing the JDK from [that url](http://www.oracle.com/technetwork/java/javase/downloads), I get this now:
   
   ```
   > cordova run android
   [cordova]  Android Studio project detected
   [cordova]  ANDROID_HOME=C:\Users\username\AppData\Local\Android\sdk
   [cordova]  JAVA_HOME=C:\Program Files\java\jdk-11.0.2
   [cordova]  Requirements check failed for JDK 1.8
   [ERROR] An error occurred while running subprocess cordova.
   ```
   
   My suspicion is that it is a bug that is failing to parse a double-digit version number now that its on v11, however that doesn't matter as the docs are clear:
   
   https://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html#java-development-kit-jdk
   
   They say that you have to install JDK v8. 
   
   The v8 download links *are* further down on the [main download url](http://www.oracle.com/technetwork/java/javase/downloads) but it's not intuitive that you should install an old version when the top download is an lts release.
   
   A possible replacement link, that only includes the v8 downloads is:
   
   https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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