title: Java call function in .jar
body: <p>I have a crash in my java application.</p>
  
  <p>It happens when I try to call a static method from a class implemented in .jar file.</p>
  
  <p>Here the error :</p>
  
  <pre><code>02-28 15:38:55.712: ERROR/AndroidRuntime(323): java.lang.NoClassDefFoundError: TOOLS.CLog
  </code></pre>
  
  <p>Here call to my function :</p>
  
  <pre><code>mylog=CLog.getInstance();
  </code></pre>
  
  <p>Here my class in .jar :</p>
  
  <pre><code>public class CLog implements iLog {
  static private CLog m_instance=null;
  public static iLog getInstance() {
      if (m_instance==null) {
          m_instance=new CLog();
      }
      return m_instance;
  }
  </code></pre>
  
  <p>Some help please.</p>
  
  <p>EDIT :</p>
  
  <p>my classpath</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;classpath&gt;
      &lt;classpathentry kind="src" path="src"/&gt;
      &lt;classpathentry kind="src" path="gen"/&gt;
      &lt;classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/&gt;
      &lt;classpathentry kind="output" path="bin"/&gt;
  &lt;/classpath&gt;
  </code></pre>