java -classpath ./sqljdbc4.jar myclassname
<p>if I run <code>java -classpath ./sqljdbc4.jar myclassname</code> error is</p>

<blockquote>
  <p>Exception in thread "main" java.lang.NoClassDefFoundError:myclassname</p>
</blockquote>

<p>if I run <code>java myclassname</code> error is</p>

<blockquote>
  <p>java.lang.ClassNotFoundException:
  com.microsoft.sqlserver.jdbc.SQLServerDriver</p>
</blockquote>

<p>It is on Linux. How to fix it?</p>
