title: Jboss run with sudo
body: <p>I'm trying to run JBoss with sudo under certain configuration. I type: <strong>sudo jboss <em>config</em></strong>.
  And get the following result: <strong>path-to-jboss/bin/run.sh: 255: java: not found</strong></p>
  
  <p>I think it could be a JVM installation issue, but not sure.</p>