summarylogtreecommitdiffstats
path: root/webstorm.sh
diff options
context:
space:
mode:
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