Juan Hernandez has posted comments on this change.

Change subject: packaging: Find and check JVM during setup (#834436)
......................................................................


Patch Set 3:

Changed the algorithm used to find a supported JVM. It now goes to the 
/usr/lib/jvm directory and follows the symlinks there. Those that point to a 
directory containing the "bin/java" file are considered candidates and then the 
"bin/java" command is executed. It is considered a supported version it returns 
something like this:

  java version "1.7.0..."
  OpenJDK ...

I tested this algorithm in Fedora, Debian, RHEL and Gentoo, and in all these 
distributions the result is a symlink that doesn't change when the package is 
updated.

--
To view, visit http://gerrit.ovirt.org/7549
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib279ea8111825ec35a25f9ba6ee37b481ed4354f
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Alex Lourie <[email protected]>
Gerrit-Reviewer: Alon Bar-Lev <[email protected]>
Gerrit-Reviewer: Juan Hernandez <[email protected]>
Gerrit-Reviewer: Moran Goldboim <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to