title: Error when calling pure java code (separate project) from android in eclipse
body: <p>I have this simple java code:</p>
  
  <pre><code>package com.androiddesktoptest.testtest;
  
  public class AndroidDesktopTestMain
  {
      public static void main(String[] args)
      {
          callFromAndroid();
      }
  
      public static void callFromAndroid()
      {
          System.out.println("DESKTOP CODE CALLED FROM ANDROID");
      }
  }
  </code></pre>
  
  <p>And I want to call it from Android like this:</p>
  
  <pre><code>import com.androiddesktoptest.testtest.AndroidDesktopTestMain;
  
  public void onCreate(Bundle savedInstanceState)
  {
      //...
      AndroidDesktopTestMain.callFromAndroid();
  }
  </code></pre>
  
  <p>and I get <code>java.lang.NoClassDefFoundError</code></p>
  
  <p>I am using Eclipse and my project AndroidDesktopTest has checked to export AndroidDesktopTest/src. Also, eclipse autocomplete my code in Android, so it see correcly my code in desktop project.</p>
  
  <p>What I am doing wrong? I did something like this in my previous-previous-previous project, from this time, maybe ADT has chaged or something...</p>
  
  <p><strong>* UPDATE *</strong> 
  entire error
  <code>07-20 14:02:56.452: E/AndroidRuntime(30233): java.lang.NoClassDefFoundError: com.androiddesktoptest.testtest.AndroidDesktopTestMain</code></p>