[Libguestfs] [PATCH] configure: look for "default-java" as directory for Java
Richard W.M. Jones
rjones at redhat.com
Thu Jul 17 21:22:38 UTC 2014
On Thu, Jul 17, 2014 at 04:28:27PM +0200, Pino Toscano wrote:
> In Debian-based systems, /usr/lib/jvm/default-java is a symlink
> pointing to the location of the default Java version.
> ---
> configure.ac | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/configure.ac b/configure.ac
> index ec98e4b..932bad1 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -1250,6 +1250,7 @@ if test "x$with_java" != "xno"; then
> # Look for Java in some likely locations.
> for d in \
> /usr/lib/jvm/java \
> + /usr/lib/jvm/default-java \
> /usr/lib/jvm/java-6-openjdk
> do
> if test -d $d && test -f $d/bin/java; then
> --
> 1.9.3
ACK.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list