khos2ow commented on issue #2678: Build on Ubuntu 18.04 fails - "FAILURE! - in 
com.cloud.utils.ssh.SshHelperTest 
initializationError(com.cloud.utils.ssh.SshHelperTest)"
URL: https://github.com/apache/cloudstack/issues/2678#issuecomment-392624884
 
 
   > rob@cloudstack:~/apache-cloudstack-4.11.0.0-src$ java --version
   openjdk 10.0.1 2018-04-17
   OpenJDK Runtime Environment (build 10.0.1+10-Ubuntu-3ubuntu1)
   OpenJDK 64-Bit Server VM (build 10.0.1+10-Ubuntu-3ubuntu1, mixed mode)
   
   You actually have both Java 10 and 8 installed, and the *active* one is Java 
10. And apparently one of the test framework we use has a known issues with 
java 9+.
   
   In the meantime you can switch to java 8 and try again, execute below 
command and follow the on screen instructions:
   
   ```
   update-alternatives --config java
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to