Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3E768200BA6 for ; Mon, 3 Oct 2016 23:42:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D234160ACD; Mon, 3 Oct 2016 21:42:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 89FCE160ADC for ; Mon, 3 Oct 2016 23:42:21 +0200 (CEST) Received: (qmail 2991 invoked by uid 500); 3 Oct 2016 21:42:20 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 2870 invoked by uid 99); 3 Oct 2016 21:42:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Oct 2016 21:42:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 83FF02C2A66 for ; Mon, 3 Oct 2016 21:42:20 +0000 (UTC) Date: Mon, 3 Oct 2016 21:42:20 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-11640) Android build fails with JDK 7 -- needs JDK 8 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 03 Oct 2016 21:42:22 -0000 [ https://issues.apache.org/jira/browse/CB-11640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15543513#comment-15543513 ] ASF subversion and git services commented on CB-11640: ------------------------------------------------------ Commit 9544783b5eb9317addb00ba0c75de7a87e665364 in cordova-android's branch refs/heads/master from [~bowserj] [ https://git-wip-us.apache.org/repos/asf?p=cordova-android.git;h=9544783 ] CB-11640: Fixing check_reqs.js so it actually works This closes #338 > 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 > 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 > Assignee: Joe Bowser > > 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: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org