cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wido den Hollander <w...@widodh.nl>
Subject Re: [DISCUSS] Supported Java version
Date Tue, 26 Feb 2013 11:07:18 GMT
On 02/25/2013 06:36 PM, Alex Huang wrote:
> I don't think these things are mutually exclusive.
>
> We should support Java7.
> We should keep supporting Java6 until it is no longer supported by the new distros.
>

+1 on that.

And what David mentions in his mail, it would be worth bumping to 5.0 
for that.

Wido

> --Alex
>
>> -----Original Message-----
>> From: Chip Childers [mailto:chip.childers@sungard.com]
>> Sent: Monday, February 25, 2013 7:00 AM
>> To: cloudstack-dev@incubator.apache.org
>> Cc: Frank Zhang; Alex Huang
>> Subject: Re: [DISCUSS] Supported Java version
>>
>> I didn't think that we agreed to bumping the java version to 7, and it seems
>> like that might make working with distros / packages difficult.
>>
>> Adding Alex and Frank to the CC to get their take.
>>
>> On Mon, Feb 25, 2013 at 12:23:39PM +0100, Wido den Hollander wrote:
>>> 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/cl
>> ou
>>> dstack/framework/rpc/RpcServerCallImpl.java:[51,58]
>>> type parameters of <T>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/cl
>> ou
>>> dstack/framework/rpc/RpcClientCallImpl.java:[191,60]
>>> type parameters of <T>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
>>>


Mime
View raw message