title: Solr Setup - Error: Could not find or load main class org.apache.solr.util.SolrCLI
body: <p>Trying to setup solr 6.4.1 on Windows Server 2008 with JDK 64bit 1.8.0</p>
  
  <p>Having set system environment-variables:</p>
  
  <pre><code>CLASSPATH = "C:\solr-6.4.1\dist\solr-core-6.4.1.jar"
  JAVA_HOME = C:\Program Files\Java\jdk1.8.0_121
  PATH = "...;C:\Program Files\Java\jdk1.8.0_121\bin"
  </code></pre>
  
  <p>When trying to start via cmd (as admin) "solr start -p 8984" following error message appears:</p>
  
  <pre><code>Error: Could not find or load main class org.apache.solr.util.SolrCLI
  Failed removing old solr logs (...)
  </code></pre>
  
  <p>I have unzipped solr-core.6.4.1.jar and SolrCLI is actually in it.</p>