title: Unable to start Active MQ on Linux
body: <p>I am trying to get ActiveMQ server running on a RaspberryPI Debian Squeeze box and all appears to be installed correctly but when I try and start the service I am getting the following...</p>
  
  <p>root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0# bin/activemq</p>
  
  <p>INFO: Loading '/etc/default/activemq'</p>
  
  <p>INFO: Using java '/usr/jre1.7.0_07/bin/java'</p>
  
  <p>/usr/jre1.7.0_07/bin/java: 1: /usr/jre1.7.0_07/bin/java:ELF0</p>
  
  <pre><code>                                                       4°: not found
  </code></pre>
  
  <p>/usr/jre1.7.0_07/bin/java: 2: /usr/jre1.7.0_07/bin/java: Syntax error: "(" unexpected</p>
  
  <p>Tasks provided by the sysv init script:</p>
  
  <pre><code>restart         - stop running instance (if there is one), start new instance
  
  console         - start broker in foreground, useful for debugging purposes
  
  status          - check if activemq process is running
  
  setup           - create the specified configuration file for this init script
  
                    (see next usage section)
  </code></pre>
  
  <p>Configuration of this script:</p>
  
  <pre><code>The configuration of this script can be placed on /etc/default/activemq or /root/.activemqrc.
  
  To use additional configurations for running multiple instances on the same operating system
  
  rename or symlink script to a name matching to activemq-instance-&lt;INSTANCENAME&gt;.
  
  This changes the configuration location to /etc/default/activemq-instance-&lt;INSTANCENAME&gt; and
  
  $HOME/.activemqrc-instance-&lt;INSTANCENAME&gt;. Configuration files in /etc have higher precedence.
  </code></pre>
  
  <p>root@raspberrypi:/var/www/activemq/apache-activemq-5.7.0#</p>
  
  <p>It looks like there is an error somewhere but I am a fairly newbie at this and don't know where to look.</p>