File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
Author

Just trying to get JMS to work on a project

Jackie Gleason
Greenhorn

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?

Thanks
Bruno Kinoshita
Greenhorn

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.

Cheers


Kinoshita, Bruno
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9317
    
109

I'll move this to our IDE forum.


[My Blog] [JavaRanch Journal]
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

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
 
Consider Paul's rocket mass heater.
 
subject: Just trying to get JMS to work on a project
 
Similar Threads
Struts and SWING
need help regarding further certifications
Struts and SWING
Explaination wanted: Index Transformation
Two player game.