title: Why can't I get Openfire to start?
body: <p>I am having trouble getting Openfire to work.  I done the following:</p>
  
  <blockquote>
  <pre><code>[root@jiaoyou logs]# which java
  /usr/bin/java
  </code></pre>
  </blockquote>
  
  <p>and I've run this command:</p>
  
  <pre><code>ln -s /usr/bin/java /opt/openfire/jre/bin/java
  </code></pre>
  
  <p>but when starting Openfire, it still says:</p>
  
  <pre><code>cannot run command `/opt/openfire/jre/bin/java': No such file or directory
  </code></pre>
  
  <p>It seems like a permission issue, but I don't know how to fix that.</p>