commit: af987d9fda0cb8c970809ee4a145ab01e0bb88ec
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 1 11:33:05 2018 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Oct 24 21:06:57 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af987d9f
java-utils-2: Replace java-config VM handling with eselect-java
The VM handling options are deprecated.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
eclass/java-utils-2.eclass | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 25e35c33dd2..1ba8bc5c5b5 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
}