<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 11/12/2015 04:31 AM, Shmuel Melamud
wrote:<br>
</div>
<blockquote
cite="mid:CAMFVLy1qcT=dUcWnwYva4ViAUAvJFVQo1LgC4zxtoTVz11hCow@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_default"
style="font-family:monospace,monospace">Hi!<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 11, 2015 at 9:57 PM,
Alexander Wels <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:awels@redhat.com"
target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:awels@redhat.com">awels@redhat.com</a></a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
</div>
</div>
Make sure you have both java 1.7 and 1.8 installed as well
as both Jboss 7.1.1<br>
final and wildfly. Then just set your JAVA_HOME to point
to either 7 or 8<br>
depending on what you are working on and the same with
JBOSS_HOME<br>
</blockquote>
</div>
<br>
<div class="gmail_default"
style="font-family:monospace,monospace">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.<br>
</div>
<br>
</div>
</div>
</blockquote>
<br>
i faced exactly the same problem. I solved it in following way.<br>
<br>
<pre wrap="">1) Download jboss-eap-x.y from <a class="moz-txt-link-freetext" href="http://www.jboss.org/products/eap/overview/">http://www.jboss.org/products/eap/overview/</a> (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
</pre>
More info at <a
href="https://www.mail-archive.com/devel@ovirt.org/msg04607.html"><a class="moz-txt-link-freetext" href="https://www.mail-archive.com/devel@ovirt.org/msg04607.html">https://www.mail-archive.com/devel@ovirt.org/msg04607.html</a></a><br>
<br>
Regards,<br>
Ramesh<br>
<br>
<blockquote
cite="mid:CAMFVLy1qcT=dUcWnwYva4ViAUAvJFVQo1LgC4zxtoTVz11hCow@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_default"
style="font-family:monospace,monospace">Shmuel</div>
<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@ovirt.org">Devel@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/devel">http://lists.ovirt.org/mailman/listinfo/devel</a></pre>
</blockquote>
<br>
</body>
</html>