title: SonarQube 4.5.1 cannot start - unable to locate class org.sonar.application.StartServer
body: <p>I have trouble with running new SonarQube. The log is as follows:</p>
  
  <pre><code>OpenSCManager failed - Access is denied. (0x5)
  OpenSCManager failed - Access is denied. (0x5)
  --&gt; Wrapper Started as Console
  Launching a JVM...
  Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
  
  WrapperSimpleApp: Unable to locate the class org.sonar.application.StartServer: java.lang.ClassNotFoundException: org.sonar.application.StartServer
  
  WrapperSimpleApp Usage:
  java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
  
  Where:
   app_class:      The fully qualified class name of the application to run.
   app_arguments:  The arguments that would normally be passed to the
                application.
   &lt;-- Wrapper Stopped
  </code></pre>
  
  <p>wrapper.conf:</p>
  
  <p><code>wrapper.java.command=java
  wrapper.java.additional.1=-Djava.awt.headless=true
  wrapper.java.additional.2=-XX:MaxPermSize=160m
  wrapper.java.additional.3=-XX:+HeapDumpOnOutOfMemoryError
  wrapper.java.additional.4=-Dfile.encoding=UTF-8
  wrapper.java.additional.5=-Djruby.management.enabled=false
  wrapper.java.additional.6=-Xmx1024M
  wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
  wrapper.java.classpath.1=../../lib/jsw/<em>.jar
  wrapper.java.classpath.2=../../lib/</em>.jar
  wrapper.java.classpath.3=../../extensions/jdbc-driver/mysql/<em>.jar
  wrapper.java.classpath.4=../../extensions/jdbc-driver/oracle/</em>.jar
  wrapper.java.classpath.5=../../extensions/jdbc-driver/postgresql/<em>.jar
  wrapper.java.classpath.6=../../extensions/jdbc-driver/mssql/</em>.jar
  wrapper.java.classpath.7=../../conf
  wrapper.java.library.path.1=./lib
  wrapper.app.parameter.1=org.sonar.application.App
  wrapper.java.initmemory=256
  wrapper.java.maxmemory=32
  wrapper.app.parameter.1=org.sonar.application.StartServer
  wrapper.console.format=PM
  wrapper.console.loglevel=INFO
  wrapper.logfile=../../logs/sonar.log
  wrapper.logfile.format=M
  wrapper.logfile.loglevel=INFO
  wrapper.syslog.loglevel=NONE
  wrapper.console.title=SonarQube
  wrapper.single_invocation=true
  wrapper.ntservice.name=SonarQube
  wrapper.ntservice.displayname=SonarQube
  wrapper.ntservice.description=SonarQube
  wrapper.ntservice.dependency.1=
  wrapper.ntservice.starttype=AUTO_START
  wrapper.ntservice.interactive=false
  wrapper.disable_restarts=TRUE
  wrapper.ping.timeout=240
  wrapper.shutdown.timeout=3000</code></p>
  
  <p>sonar.properties:</p>
  
  <p><code>sonar.jdbc.username=<strong>*
  sonar.jdbc.password=*</strong>
  sonar.jdbc.url=jdbc:mysql://localhost:3306/sonar?useUnicode=true&amp;characterEncoding=utf8&amp;rewriteBatchedStatements=true
  sonar.jdbc.maxActive=20
  sonar.jdbc.maxIdle=5
  sonar.jdbc.minIdle=2
  sonar.jdbc.maxWait=5000
  sonar.jdbc.minEvictableIdleTimeMillis=600000
  sonar.jdbc.timeBetweenEvictionRunsMillis=30000
  sonar.web.host=0.0.0.0
  sonar.web.context=
  sonar.web.port=9000
  sonar.notifications.delay=60
  </code></p>
  
  <p>java -version:</p>
  
  <p><code>C:>java -version
  java version "1.7.0_51"
  Java(TM) SE Runtime Environment (build 1.7.0_51-b13)
  Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode)</code></p>
  
  <p>What am I doing wrong?</p>