File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

[SOLVED] Package javax.jms not part of standard jdk install ?

 
Michael Boehm
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My java compiler complains about the above package not being available. However there is no problem with javax.naming. Have I botched up something with my java jdk install
or is javax.jms simply not part of it ? If not, what is the "correct"/standard way to use it ? Should I simply get the .class files and place where I have the rest of the jdk classes or should I include a jar with the javax.jms to my path ?
 
Michael Boehm
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Damn, didnt find this post when I earsched first time:

http://www.coderanch.com/t/317544/EJB-JEE/java/where-javax-jms-package
 
Tim Moores
Bartender
Posts: 2502
13
  • 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Correct: javax.naming is part of JSE, javax.jms is part of JEE.

If you don't want to get the complete JEE, you can find the JMS classes at http://www.oracle.com/technetwork/java/docs-136352.html
 
Tim Moores
Bartender
Posts: 2502
13
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Michael Boehm wrote:Damn, didnt find this post when I earsched first time:

http://www.coderanch.com/t/317544/EJB-JEE/java/where-javax-jms-package

J2EE 1.4 is way outdated. Either get just JMS, or get the newer JEE 5 or JEE 6.
 
Michael Boehm
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks. Always nice to keep the system as fat free as possible
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic