summarylogtreecommitdiffstats
path: root/webstorm.sh
diff options
context:
space:
mode:
authorfrederik2016-03-19 01:45:21 +0100
committerfrederik2016-03-19 01:45:21 +0100
commitb31bdad56232768299d3ceda217097d5fc68ec9c (patch)
treed80b2f9875ee5c72c78459b815598f382b4e15e7 /webstorm.sh
parentc4fb087e81e02fae23d46650f0a8e57c1b906f8d (diff)
downloadaur-b31bdad56232768299d3ceda217097d5fc68ec9c.tar.gz
auto detect system java
Diffstat (limited to 'webstorm.sh')
-rw-r--r--webstorm.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/webstorm.sh b/webstorm.sh
index a067a026dcbd..f038a67fe19f 100644
--- a/webstorm.sh
+++ b/webstorm.sh
@@ -1,2 +1,4 @@
-# uncomment to use Arch JRE/JDK
-#export WEBIDE_JDK=/usr/lib/jvm/default
+# use Arch JRE/JDK for webstorm
+if [ -d /usr/lib/jvm/default ]; then
+ export WEBIDE_JDK=/usr/lib/jvm/default
+fi