Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6AC8CEC31 for ; Mon, 25 Feb 2013 11:24:10 +0000 (UTC) Received: (qmail 29441 invoked by uid 500); 25 Feb 2013 11:24:09 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 29367 invoked by uid 500); 25 Feb 2013 11:24:09 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 29211 invoked by uid 99); 25 Feb 2013 11:24:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 11:24:08 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [109.72.87.137] (HELO smtp01.mail.pcextreme.nl) (109.72.87.137) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Feb 2013 11:24:01 +0000 Received: from [IPv6:2a00:f10:113:0:a0b7:93fe:fdee:67ab] (unknown [IPv6:2a00:f10:113:0:a0b7:93fe:fdee:67ab]) by smtp01.mail.pcextreme.nl (Postfix) with ESMTPSA id 77C1F38C069 for ; Mon, 25 Feb 2013 12:23:39 +0100 (CET) Message-ID: <512B49BB.8040404@widodh.nl> Date: Mon, 25 Feb 2013 12:23:39 +0100 From: Wido den Hollander User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 MIME-Version: 1.0 To: "cloudstack-dev@incubator.apache.org" Subject: [DISCUSS] Supported Java version Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, So the last couple of days the master branch wouldn't build on my systems: [INFO] Apache CloudStack Framework - IPC ................. FAILURE [1.874s] ... ... [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project cloud-framework-ipc: Compilation failure: Compilation failure: [ERROR] /home/employee/wido/repos/cloudstack/framework/ipc/src/org/apache/cloudstack/framework/rpc/RpcServerCallImpl.java:[51,58] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object [ERROR] /home/employee/wido/repos/cloudstack/framework/ipc/src/org/apache/cloudstack/framework/rpc/RpcClientCallImpl.java:[191,60] type parameters of T cannot be determined; no unique maximal instance exists for type variable T with upper bounds T,java.lang.Object So I'm running Ubuntu 12.04.1 on all my systems (laptop, desktop, servers) and this is the maven information: wido@wido-desktop:~$ mvn -v Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.6.0_27, vendor: Sun Microsystems Inc. Java home: /usr/lib/jvm/java-6-openjdk-amd64/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-38-generic", arch: "amd64", family: "unix" wido@wido-desktop:~$ Now, that Java version is old, I know, but it's the openjdk version which is in Ubuntu 12.04's repositories right now. I downloaded Java 7: wido@wido-desktop:~/repos/cloudstack$ JAVA_HOME="/opt/jdk1.7.0_15" mvn -v Apache Maven 3.0.4 Maven home: /usr/share/maven Java version: 1.7.0_15, vendor: Oracle Corporation Java home: /opt/jdk1.7.0_15/jre Default locale: en_US, platform encoding: UTF-8 OS name: "linux", version: "3.2.0-38-generic", arch: "amd64", family: "unix" wido@wido-desktop:~/repos/cloudstack$ With that Java version the master branch builds just fine. What I want to discuss which version of Java we support. I'd say we support the LTS version of any major release of CentOS or Ubuntu. I also understand that Java 6 is pretty old, so what do we do? Wido