title: Troubleshooting ClassNotFoundException when using PHP/Java bridge
body: <p>I've followed this tutorial <a href="http://www.dsl.uow.edu.au/~sk33/php5java.htm" rel="nofollow">http://www.dsl.uow.edu.au/~sk33/php5java.htm</a>, but at last when I tried this</p>
  
  <pre><code>&lt;?php
  
  java_require('http://localhost/test/HelloWorld.jar');
  $myObj = new Java('HelloWorld');
  
  // display Hello World
  echo (String) $myObj-&gt;getHelloWorld();
  
  
  ?&gt;
  </code></pre>
  
  <p>I got this exception</p>
  
  <blockquote>
    <p>PHP Fatal error:  Uncaught [o(Exception):"java.lang.Exception: CreateInstance failed:new HelloWorld. Cause: java.lang.ClassNotFoundException: Could not find HelloWorld in java_require() path. Please check the path and the SEL and File permissions. Responsible VM: 1.5.0_14@http://java.sun.com/" at:#-10 php java.bridge.DynamicJavaBridgeClassLoader.loadClass(DynamicJavaBridgeClassLoader.java:293)</p>
  </blockquote>