title: How to set Environment variable for Oracle JDBC thin driver
body: <p>After installing Oracle 11g R2 on my system, I set the environment variable as following:</p>
  
  <pre><code>variable Name :CLASSPATH 
  variable Value :E:\app\JamesPJ\product\11.2.0\dbhome_1\jdbc\lib\ojdbc6.jar
  Variable name : ORACLE_HOME
  varaible value :E:\app\JamesPJ\product\11.2.0\dbhome_1\jdbc\lib\ojdbc6.jar
  </code></pre>
  
  <p>When I run the program using testpad and in command prompt the error comes as follows :</p>
  
  <blockquote>
    <p>Error: Could not find or load main class test</p>
  </blockquote>
  
  <p>How is this caused and how can I solve it?</p>