title: Gemfire - Cannot start locator
body: <p>I am trying to start up a locator using gfsh and I keep getting that a main class cannot be found.</p>
  
  <p>I am running this:  <code>gfsh start locator --name=locator1</code></p>
  
  <p>After this I get the following error:</p>
  
  <pre><code>Error: Could not find or load main class com.gemstone.gemfire.distributed.LocatorLauncher
  </code></pre>
  
  <p>Which to me this means that something is missing on the classpath to find that jar.  I have these on my classpath:</p>
  
  <pre><code>export JAVA_HOME=/Java/jdk1.8.0_111    
  export GEMFIRE=/Pivotal_GemFire_822
  export GF_JAVA=$JAVA_HOME/bin/java
  </code></pre>
  
  <p>(I abbreviated the paths)</p>
  
  <p>The setup docs also say you need tools.jar included w the JDK on your classpath.  I did that and it didn't make any difference.  I thought that would be included on JAVA_HOME anyways.</p>