Re: [QUESTION] Upgrade path to JDK8

2017-02-21 Thread Ron Wheeler
http://stackoverflow.com/questions/10895969/can-newer-jre-versions-run-java-programs-compiled-with-older-jdk-versions You can run code compiled by the java 1.7 or 1.6 or earlier SDKs on a Java 8 JVM. This gets you the improved speed of the Java 8 JVM even if you do not rebuild the code. If

Re: [QUESTION] Upgrade path to JDK8

2017-02-21 Thread Marc-Aurèle Brothier
No there isn't any issue except having the bugs & fixes of the JDK you're using. You can compile it with a JDK 1.8 as long as you don't change the target bytecode version for 1.7 On Tue, Feb 21, 2017 at 8:15 AM, Wei ZHOU wrote: > Marco, > > Good point. Is there any issue if we compile code with

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
Marco, Good point. Is there any issue if we compile code with jdk8 but run it on jdk7 (systemvm) ? -Wei 2017-02-21 7:43 GMT+01:00 Marc-Aurèle Brothier : > There's a list of compatibility issues between Java 7 & Java 8 here > http://www.oracle.com/technetwork/java/javase/8- > compatibility-guide

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Marc-Aurèle Brothier
There's a list of compatibility issues between Java 7 & Java 8 here http://www.oracle.com/technetwork/java/javase/8-compatibility-guide-2156366. html The main problem I would see in two system communicating while running different Java version is the way they handle serialization and de-serializat

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
We tested 4.7.1+systemd patches as well, it also works fine. -Wei 2017-02-20 22:34 GMT+01:00 Wei ZHOU : > @Will and @Syed, I build the packages of 4.9.2+systemd patches on ubuntu > 16.04 (openjdk 8). > Then install the packages to management server and kvm hosts (all are > ubuntu 16.04 with open

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
@Will and @Syed, I build the packages of 4.9.2+systemd patches on ubuntu 16.04 (openjdk 8). Then install the packages to management server and kvm hosts (all are ubuntu 16.04 with openjdk8). The systemvm template is 4.6 with openjdk7. cpvm and ssvm work fine. As there is no java process in VR, so

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Pierre-Luc Dion
That's quite interesting Chiradeep! so I could do something like this I guest: mvn clean install and then this one to build the systemvm.iso: mvn -Psystemvm -source 1.7 -target 1.7 install I'll give it a try! but for now, I'm worried about existing VR, they must continue to work while running

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Chiradeep Vittal
You can build the system vm with -source 1.7 -target 1.7 Also unless you are using Java8 features (lambda) the classfiles produced by javac 8 should work in a 1.7 JVM Sent from my iPhone > On Feb 20, 2017, at 11:51 AM, Will Stevens wrote: > > yes, that is what I was expecting. which is why

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
yes, that is what I was expecting. which is why I was asking about Wei's setup because he seems to have worked around that problem. Or he has a custom SystemVM template running with both JDK7 and JDK8. *Will STEVENS* Lead Developer On Mon, Feb 20, 2017 at 2:20 PM, Syed

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Syed Ahmed
The problem is that systemvm.iso is built with java 8 whereas java on the VR is java 7 On Mon, Feb 20, 2017 at 13:20 Will Stevens wrote: > Did it work after resetting a VPC or when blowing away the SSVM or CPVM? I > would not expect the SSVM or the CPVM to come up if the management server > was

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
Did it work after resetting a VPC or when blowing away the SSVM or CPVM? I would not expect the SSVM or the CPVM to come up if the management server was built with JDK8 and the system vm template is only using JDK7. Can you confirm?​ *Will STEVENS* Lead Developer On Mon

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Wei ZHOU
We've tested management server 4.7.1 with ubuntu 16.04/openjdk8 and systemvm 4.6 with debian7/openjdk7. The systemvms (ssvm, cpvm) work fine. I agree we need consider the openjdk upgrade in systemvm template. -Wei 2017-02-20 18:15 GMT+01:00 Will Stevens : > Regarding my question. Is it because

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
Regarding my question. Is it because of the version of Java that the systemvm.iso is built on? On Feb 20, 2017 11:58 AM, "Will Stevens" wrote: > A question that is hidden in here is: > - Why does the JDK version on the management server have to match the JDK > version of the System VM? > > *Will

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Ron Wheeler
Are any Java enhancements being added to common libraries that would force the Client side to have to run Java 8? Would running Java 7 cause any library to need to be available in 2 versions? Ron On 20/02/2017 11:58 AM, Will Stevens wrote: A question that is hidden in here is: - Why does the

Re: [QUESTION] Upgrade path to JDK8

2017-02-20 Thread Will Stevens
A question that is hidden in here is: - Why does the JDK version on the management server have to match the JDK version of the System VM? *Will STEVENS* Lead Developer On Mon, Feb 20, 2017 at 11:50 AM, Pierre-Luc Dion wrote: > Hi, > > In the context of deployment of Clo

[QUESTION] Upgrade path to JDK8

2017-02-20 Thread Pierre-Luc Dion
Hi, In the context of deployment of CloudStack with VPCs, What will happen to a cloud when upgrading to 4.10 that now use jdk8? Does upgrading the management-server to 4.10 jdk8 and then keep the old VRs run for a while that run on JDK7 will still work ? Because If we upgrade the management-serv