[ovirt-devel] oVirt 3.5 and 4.0 on the same devel machine
Ramesh Nachimuthu
rnachimu at redhat.com
Thu Nov 12 04:12:11 UTC 2015
On 11/12/2015 04:31 AM, Shmuel Melamud wrote:
> Hi!
>
> On Wed, Nov 11, 2015 at 9:57 PM, Alexander Wels <awels at redhat.com
> <mailto:awels at redhat.com>> wrote:
>
> Make sure you have both java 1.7 and 1.8 installed as well as both
> Jboss 7.1.1
> final and wildfly. Then just set your JAVA_HOME to point to either
> 7 or 8
> depending on what you are working on and the same with JBOSS_HOME
>
>
> I don't need to set JAVA_HOME, because java_home script does it for
> me, it automatically locates the corresponding JDK, if it's
> installed. The problem is that OpenJDK packages for 1.7 and 1.8 are
> conflicting with each other.
>
i faced exactly the same problem. I solved it in following way.
1) Download jboss-eap-x.y fromhttp://www.jboss.org/products/eap/overview/ (zip)
2) Extract it to /opt (insure that it has the right permissions)
3) Download openjdk 1.7 as an archive ans extract it to /usr/lib/jvm
4) set the following environment variables :
a) export OVIRT_ENGINE_JAVA_HOME=/usr/lib/jvm/<extraced-jdk-folder>
b) export OVIRT_ENGINE_JAVA_HOME_FORCE=1
5) run #sh -x ./packaging/bin/java-home and ensure that it returns 0 otherwise u may have to patch this.
6) run engine-setup as follows :
engine-setup --jboss-home=/opt/jboss-eap-x.y
More info at https://www.mail-archive.com/devel@ovirt.org/msg04607.html
Regards,
Ramesh
> Shmuel
>
>
>
> _______________________________________________
> Devel mailing list
> Devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20151112/ed4e23b5/attachment.html>
More information about the Devel
mailing list