So I am having a little trouble just trying to access the javax.jms classes, so this should be a fairly easy one.
I copied J2EE.jar into my jdk/jre/lib folder, however, elcipse doesn't seem to pick up the changes. Restarted eclipse and still nothing, intellisense won't pick up the Java.jms package and I cannot use the connection objects
What am I doing wrong?
posted 8 years ago
Hummm, I'd this problem some time ago... very similar. I believe that what I'd was a problem between the Java version of the classes. Check you Java SDK in your project and the version of classes in this Jar.
I do not think that Eclipse will automatically pick up JAR files located in the jre/lib folder (though, honestly, I have never tried it because I never placed anything there - it is not a good idea).
Instead do this. Right-click on your project in Eclipse, select Properties and go to Java Build Path, click on the Libraries tab, and add the JAR file there. [ November 12, 2008: Message edited by: Peter Johnson ]