title: Class.forName(“com.mysql.jdbc.Driver”) does not work on Raspberry Pi
body: <p>this code: </p>
  
  <pre><code>        Class.forName("com.mysql.jdbc.Driver"); 
  </code></pre>
  
  <p>leads to an</p>
  
  <blockquote>
    <p>ClassNotFoundException</p>
  </blockquote>
  
  <p>on raspberry Pi. although my Classpath is correct</p>
  
  <pre><code>pi@raspberrypi ~ $ echo $CLASSPATH
  /usr/share/java/mysql-connector-java.jar
  </code></pre>
  
  <p>on Windows it just works fine!
  any idea what I'm doing wrong?</p>
  
  <p>I also tried to start my Application with</p>
  
  <blockquote>
    <p>java -cp /usr/share/java/mysql-connector-java.jar -jar myApp.jar</p>
  </blockquote>
  
  <p>thanks
  florian</p>