Permalink
Browse files

Remove JAVA_HOME declaration from run.sh. Replace with sanity check.

  • Loading branch information...
1 parent 265df38 commit a8590258d2ecbccd141b77affeeefdcf9ecea496 @marc0der marc0der committed Dec 3, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 run.sh
View
6 run.sh
@@ -9,5 +9,9 @@ if [ -z $(which vertx) ]; then
exit 0
fi
-export JAVA_HOME="/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home"
+if [ -z "$JAVA_HOME" ]; then
+ echo "Please point JAVA_HOME and a valid JDK 7.0"
+ exit 0
+fi
+
vertx run build/server/server.groovy

0 comments on commit a859025

Please sign in to comment.