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>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>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

Reply via email to