summarylogtreecommitdiffstats
path: root/cmaptools
diff options
context:
space:
mode:
Diffstat (limited to 'cmaptools')
-rw-r--r--cmaptools7
1 files changed, 6 insertions, 1 deletions
diff --git a/cmaptools b/cmaptools
index 57103440d70..4356f79ba14 100644
--- a/cmaptools
+++ b/cmaptools
@@ -1,3 +1,8 @@
#!/bin/sh
-
+if archlinux-java status | grep -q 8
+then
+ export PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH
+else
+ export PATH=/usr/lib/jvm/java-7-openjdk/jre/bin/:$PATH
+fi
exec /opt/cmaptools/bin/CmapTools