title: How to import a class from default package
body: <blockquote>
    <p>Possible Duplicate: <a href="https://stackoverflow.com/questions/283816/how-to-access-java-classes-in-the-default-package">How to access java-classes in the default-package?</a></p>
  </blockquote>
  
  <hr>
  
  <p>I am using Eclipse 3.5 and I have created a project with some package structure along with the default package. I have one class in default package - <strong>Calculations.java</strong> and I want to make the use of that class in any of the package (for instance in <code>com.company.calc</code>). When I try to make the use of the class which is in the default package, it's giving me a compiler error. It's not able to recognise the class in default package. Where is the problem?</p>
  
  <p>Calculations.java - source code</p>
  
  <pre><code>public class Calculations {
      native public int Calculate(int contextId);
      native public double GetProgress(int contextId);
      static  {
          System.loadLibrary("Calc");
      }
  }
  </code></pre>
  
  <p>I can't put my class in any other package. This class has some native methods which are implemented in Delphi. If I put that class in any of the folders, I will have to make changes to that DLL which I want to avoid (really - I can not). That's why I put my class in the default package.</p>