summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2018-01-01 11:33:05 +0000
committerJames Le Cuirot <chewi@gentoo.org>2018-10-24 22:06:57 +0100
commitaf987d9fda0cb8c970809ee4a145ab01e0bb88ec (patch)
treefc93b048677213650f74ee65087739b051f10dbf /eclass/java-utils-2.eclass
parentjava-vm-2.eclass: Replace java-config VM handling with eselect-java (diff)
downloadgentoo-af987d9fda0cb8c970809ee4a145ab01e0bb88ec.tar.gz
gentoo-af987d9fda0cb8c970809ee4a145ab01e0bb88ec.tar.bz2
gentoo-af987d9fda0cb8c970809ee4a145ab01e0bb88ec.zip
java-utils-2: Replace java-config VM handling with eselect-java
The VM handling options are deprecated. Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass6
1 files changed, 3 insertions, 3 deletions
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
}