I'm trying to use a JAR file that I created in Netbeans in my Eclipse project. The layout of the Netbeans files are the following.
Based on documentation I was told that I could zip up these files and then include them in my eclipse project but that doesn't seem to work. If I try to import a class from MyJarFile.jar Eclipse doesn't understand it. I added the zip via Java Build Path > Libraries > Add External jars. What am I doing wrong ?
If I build the JARs into 1 jar file I can import and call my class but nothing seems to happen and no exceptions are thrown. If I try calling the JAR file ( that includes both JAR files ) in Netbeans I get the following exception: