0

Possible Duplicate:
Classpath including JAR within a JAR

I would like to know if it is possible to import a jar of jars. I am trying to load openehr_ref_impl_java-1.0.1.jar which is a jar of jars, but the instances of classes aren`t being referenced. First I copy the jar to the lib folder(located in my project folder) -> right click -> build path -> add to build path.

I tried unzipping the .jar file which works - the classes are referenced, but I figured since there is also a jar of jars for the javadoc (openehr_ref_impl_java-1.0.1_javadocs.jar), there might be a simpler solution.

Community
  • 1
  • 1
TheAptKid
  • 1,559
  • 3
  • 25
  • 47

2 Answers2

1

The page you linked also offers the component Jars. The implication is that the 'one Jar of all components' is simply for convenience of distribution/download.

So the answer would be:- Extract the Jars first, add each to the compile/run-time class-path as you would for any regular Jar.

Andrew Thompson
  • 168,117
  • 40
  • 217
  • 433
0

I downloaded it. Project name (right click) -> Build Path -> Configure Build Path -> Libraries -> Add External Jars -> Your Jar of Jars.

It works for me.

Doszi89
  • 357
  • 2
  • 5
  • 20