aspose file tools*
The moose likes Beginning Java and the fly likes [SOLVED] Package javax.jms not part of standard jdk install ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "[SOLVED] Package javax.jms not part of standard jdk install ?" Watch "[SOLVED] Package javax.jms not part of standard jdk install ?" New topic
Author

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

Michael Boehm
Ranch Hand

Joined: Jun 02, 2010
Posts: 51
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

Joined: Jun 02, 2010
Posts: 51
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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
Rancher

Joined: Sep 21, 2011
Posts: 2408
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

Joined: Jun 02, 2010
Posts: 51
Thanks. Always nice to keep the system as fat free as possible
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: [SOLVED] Package javax.jms not part of standard jdk install ?