[ 
https://issues.apache.org/jira/browse/CB-11640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Joe Bowser updated CB-11640:
----------------------------
       Priority: Major  (was: Minor)
    Component/s: Docs
        Summary: Android build fails with JDK 7 -- needs JDK 8  (was: Android 
build fails on Linux with JDK 7 -- needs JDK 8)

This is a documentation bug now.  Since we're now using API 24, you must have 
JDK 8.  I also need to check the pre-requisite code before release.

> Android build fails with JDK 7 -- needs JDK 8
> ---------------------------------------------
>
>                 Key: CB-11640
>                 URL: https://issues.apache.org/jira/browse/CB-11640
>             Project: Apache Cordova
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Android, Docs
>    Affects Versions: 6.3.0
>         Environment: OS: Linux 3.16.0-4-amd64 #1 SMP Debian 
> 3.16.7-ckt25-2+deb8u3 (2016-07-02) x86_64 GNU/Linux
> Cordova: 6.3.0
> Cordova Android: 5.2.1
>            Reporter: Andrew Neff
>
> Android platform documentation says JDK 7 or later. 
> http://cordova.apache.org/docs/en/latest/guide/platforms/android/index.html
> In fact, the default/sample project build throws a 
> java.lang.UnsupportedClassVersionError in :transformClassesWithDexForDebug.
> -->> 
> Exception in thread "main" java.lang.UnsupportedClassVersionError: 
> com/android/dx/command/Main : Unsupported major.minor version 52.0
> <<--
> When I change to JDK 8, the problem goes away and everything seems OK. (I 
> only tested this with OpenJDK, but suspect it will be the same for Oracle 
> Java.)
> If you decide to fix this by changing the docs, be aware that the JDK 
> download link you currently provide offers only JDK 7 downloads.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to