aboutsummaryrefslogtreecommitdiffstats
path: root/java/javavmwrapper/src
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-06-20 15:40:20 +0800
committersobomax <sobomax@FreeBSD.org>2000-06-20 15:40:20 +0800
commit4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3 (patch)
tree9edfbd6f04595beb5e7d887d35629fef595f40d9 /java/javavmwrapper/src
parentfdb9a8cbab5f4d29318884177083b6ecf5aeba7b (diff)
downloadfreebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.tar.gz
freebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.tar.zst
freebsd-ports-gnome-4ba9c6e9bc0dc661da4874ce1f43cc15b4e849a3.zip
Add "unset JAVA_HOME" to make javavmwrapper working with some brain damaged
software (Adobe AcrobatViewer).
Diffstat (limited to 'java/javavmwrapper/src')
-rw-r--r--java/javavmwrapper/src/javavmwrapper.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/java/javavmwrapper/src/javavmwrapper.sh b/java/javavmwrapper/src/javavmwrapper.sh
index 836ef04e87a0..16e9a235b9f5 100644
--- a/java/javavmwrapper/src/javavmwrapper.sh
+++ b/java/javavmwrapper/src/javavmwrapper.sh
@@ -98,6 +98,8 @@ esac
# Main ()
+unset JAVA_HOME
+
# First check if JAVAVM environment variable is set
if [ x"${JAVAVM}" != x"" ]; then
tryrunVM "${JAVAVM}" "${ARGS}"