unset java home
diff --git a/dist-setup.sh b/dist-setup.sh
index a0bfba3..a6e983c 100644
--- a/dist-setup.sh
+++ b/dist-setup.sh
@@ -58,6 +58,7 @@
 git fetch https://gerrit.onosproject.org/onos refs/changes/07/2107/1 && git checkout FETCH_HEAD
 cd -
 
+echo "export JAVA_HOME=''"
 echo ". ~/onos/tools/dev/bash_profile" >> ~/.bashrc
 echo "export ONOS_USER=root" >> ~/.bashrc