Red Hat Bugzilla – Bug 860329
Specify required JVM setup for alternatives.
Last modified: 2014-03-25 03:12:57 EDT
Description of problem: A few lucky winners have been trying to run the beta on setups where the alternatives setup for java points to the Oracle or IBM JVMs. We are only supporting running on openjdk's JVM. This will be dragged in by default when users 'yum install rhevm' but that doesn't mean that their alternatives setup will point to it. If they had previously installed a different JVM and pointed at it in alternatives then they need to change the alternatives config. I think the required edit here is an optional step or admonition under the 'yum install rhevm' instruction detailing how to ensure the alternatives setup is pointing at the correct JVM.
Easiest solution seems to be to run: /usr/sbin/alternatives --config java This presents a list of installed JVMs to choose from. Turns out this is pretty important. On my RHEL 6.3 system which was originally 6.2 I found that I had both openjdk6 and openjdk7 installed and openjdk6 was still selected by default. This isn't a supported configuration for RHEVM 3.1.
Topic 7519, revision 292008.
Looks like there was an error in the XML saved in revision 292008. I've updated it but will need to re-stage.
Ok talking to engineering this needs to be revised anyway. Code is being added to rhevm-setup that will forcefully set the JVM to be used for RHEVM.