[
https://issues.apache.org/jira/browse/CLOUDSTACK-9710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15822496#comment-15822496
]
ASF GitHub Bot commented on CLOUDSTACK-9710:
--------------------------------------------
Github user rhtyd commented on the issue:
https://github.com/apache/cloudstack/pull/1888
@swill I use these docker images for building packages, they have jenv and
everything else setup: https://hub.docker.com/u/bhaisaab
Don't use jenv's initialization in .bashrc or .profile, but do that in your
Jenkins script:
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"
java -version
mvn -version
For using my CentOS6 image, you'll need to export this:
# Enable maven on bash
export
PATH=/opt/rh/maven30/root/usr/bin:/opt/rh/rh-java-common/root/usr/bin:$PATH
> Switch to JDK 1.8
> -----------------
>
> Key: CLOUDSTACK-9710
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9710
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Rohit Yadav
> Assignee: Rohit Yadav
> Fix For: Future, 4.10.0.0
>
>
> Switch to using JDK1.8 by default for building and running CloudStack.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)