From af987d9fda0cb8c970809ee4a145ab01e0bb88ec Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Mon, 1 Jan 2018 11:33:05 +0000 Subject: java-utils-2: Replace java-config VM handling with eselect-java The VM handling options are deprecated. Signed-off-by: James Le Cuirot --- eclass/java-utils-2.eclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'eclass/java-utils-2.eclass') diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass index 25e35c33dd21..1ba8bc5c5b5a 100644 --- a/eclass/java-utils-2.eclass +++ b/eclass/java-utils-2.eclass @@ -1480,7 +1480,7 @@ java-pkg_ensure-vm-version-sufficient() { if ! java-pkg_is-vm-version-sufficient; then debug-print "VM is not suffient" eerror "Current Java VM cannot build this package" - einfo "Please use java-config -S to set the correct one" + einfo "Please use \"eselect java-vm set system\" to set the correct one" die "Active Java VM cannot build this package" fi } @@ -1508,7 +1508,7 @@ java-pkg_ensure-vm-version-eq() { if ! java-pkg_is-vm-version-eq $@ ; then debug-print "VM is not suffient" eerror "This package requires a Java VM version = $@" - einfo "Please use java-config -S to set the correct one" + einfo "Please use \"eselect java-vm set system\" to set the correct one" die "Active Java VM too old" fi } @@ -1555,7 +1555,7 @@ java-pkg_ensure-vm-version-ge() { if ! java-pkg_is-vm-version-ge "$@" ; then debug-print "vm is not suffient" eerror "This package requires a Java VM version >= $@" - einfo "Please use java-config -S to set the correct one" + einfo "Please use \"eselect java-vm set system\" to set the correct one" die "Active Java VM too old" fi } -- cgit v1.2.3-65-gdbad