aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Just trying to get JMS to work on a project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Just trying to get JMS to work on a project" Watch "Just trying to get JMS to work on a project" New topic

Just trying to get JMS to work on a project

Jackie Gleason

Joined: Aug 12, 2008
Posts: 8
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?

Bruno Kinoshita

Joined: Aug 02, 2006
Posts: 6
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 hope this helps you.


Kinoshita, Bruno
Jaikiran Pai

Joined: Jul 20, 2005
Posts: 9343

I'll move this to our IDE forum.

[My Blog] [JavaRanch Journal]
Peter Johnson

Joined: May 14, 2008
Posts: 5779

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 ]

JBoss In Action
I agree. Here's the link:
subject: Just trying to get JMS to work on a project
Similar Threads
Struts and SWING
Two player game.
need help regarding further certifications
Explaination wanted: Index Transformation
Struts and SWING