title: NameError: cannot load jdbc.OracleDriver - jrubyNameError
body: <p>I have a class that imports OracleDriver</p>
  
  <pre><code> require 'java'    
   java_import 'oracle.jdbc.OracleDriver'   &lt;= Get error here
  </code></pre>
  
  <p>I am getting :</p>
  
  <pre><code>NameError: cannot load Java class oracle.jdbc.OracleDriver
           for_name at org/jruby/javasupport/JavaClass.java:1204
    get_proxy_class at org/jruby/javasupport/JavaUtilities.java:34
        java_import at /home/pboob/apps/jruby-1.6.4/lib/ruby/site_ruby/shared/builtin/javasupport/core_ext/object.rb:46
  </code></pre>
  
  <p>This was working fine before but I thing something messed up in the env. </p>
  
  <p>The was I am invoking the script is jruby --1.9 .. but from the stack trace it seems like it is picking up jruby-1.6.4 ? </p>
  
  <p>Any ideas how I should debug this and what is happening ?</p>