0

I am using eclipse and i have a library (.jar file).
I need to import it in my project. I have already added it in my project (Build path..).
Now my problem is that there is a default package who contains (.class files) in the library .
and i don't know how to use it (instanciate objects from this library) in my code.

thx a lot

1 Answers1

0

The short answer is that you can't, unless you extract those classes from the jar and put the classes themselves on your classpath. See also: How to access java-classes in the default-package?

Community
  • 1
  • 1
Kevin Workman
  • 41,537
  • 9
  • 68
  • 107