Unable to install Sonarqube on Mac OSX
<p>I'm trying to install Sonarqube using their 'Get started in 2 minutes guide' - <a href="http://docs.sonarqube.org/display/SONAR/Get+Started+in+Two+Minutes" rel="nofollow">http://docs.sonarqube.org/display/SONAR/Get+Started+in+Two+Minutes</a></p>

<p>I'm working on a mac OS X 10.10.5
From Settings->Java, I have Java Version 8, update 71</p>

<p>As per instruction I downloaded the SonarQube distribution, and started this in the console</p>

<pre><code>$ sh sonar.sh console
Running SonarQube...
wrapper  | --&gt; Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1    |   Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.
jvm 1    | 
jvm 1    | 2016.01.21 16:18:40 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[search]: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djava.net.preferIPv4Stack=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/Users/baldockm/Software - Not on Cloud/Sonar/sonarqube-5.3/temp -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /var/folders/xk/1vdhr2sd18g94b1hlzj1jwkw0000gp/T/sq-process5364430543207967313properties
jvm 1    | 2016.01.21 16:18:47 INFO  app[o.s.p.m.Monitor] Process[search] is up
jvm 1    | 2016.01.21 16:18:47 INFO  app[o.s.p.m.JavaProcessLauncher] Launch process[web]: /Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx768m -Xms256m -XX:MaxPermSize=160m -XX:+HeapDumpOnOutOfMemoryError -Djava.net.preferIPv4Stack=true -Djava.io.tmpdir=/Users/baldockm/Software - Not on Cloud/Sonar/sonarqube-5.3/temp -cp ./lib/common/*:./lib/server/*:/Users/baldockm/Software - Not on Cloud/Sonar/sonarqube-5.3/lib/jdbc/h2/h2-1.3.176.jar org.sonar.server.app.WebServer /var/folders/xk/1vdhr2sd18g94b1hlzj1jwkw0000gp/T/sq-process6892403553294161903properties
jvm 1    | 2016.01.21 16:19:00 INFO  app[o.s.p.m.Monitor] Process[web] is up
</code></pre>

<p>So this all looks like it's working.</p>

<p>I then downloaded and unzipped the Sonarqube scanner.
Then downloaded and unzipped the project samples
Ran from a different terminal window (SonarQube still running in the 1st one)</p>

<pre><code>$cd path/to/.../java-sonar-runner-simple
$path/to//sonar-scanner-2.5/bin/sonar-runner
</code></pre>

<p>Which produced the output:
Unrecognized option: -
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.</p>

<p>Also, going to the localhost address in the browser produces the error:</p>

<blockquote>
  <p>We're sorry, but something went wrong. 
  Please try back in a few minutes and contact support if the problem
  persists.  Go back to the homepage</p>
</blockquote>

<p>Has anyone else had this problem? Or has any ideas how to solve it?</p>