|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
running MQ Java program linux |
« View previous topic :: View next topic » |
Author |
Message
|
tricky_knight |
Posted: Sat Mar 12, 2005 7:42 pm Post subject: running MQ Java program linux |
|
|
Apprentice
Joined: 12 Mar 2005 Posts: 34
|
I have MQ installed on my linux machine and running fine, I have the j2sdk1.4 installed and a directory /hom/mqm/jpgms.
I successfully wrote a little test program in the jpgms dir , compiled it and ran it. now I put the amqsbcg.java file in the same directory but when I compile it complains because it cannot find any of the MQ stuff and is obviously missing all the jars... com.ibm.mq.jar etc.
I realize they are in /opt/mqm/java/lib
how do I set the classpath so it will compile and run this MQ sample pgm.
apologize for such a newbie question, but could use the help
thank you.
ps.
I noticed that the PCF jar is not in the folder? (MQ5.3 CSD9)? we still need the ms0b package? |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Mar 12, 2005 8:10 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Read up on java programming.
[url]java.sun.com[/url]
On Unix the classpath separator is the column ':'
Enjoy  |
|
Back to top |
|
 |
tricky_knight |
Posted: Sat Mar 12, 2005 9:04 pm Post subject: |
|
|
Apprentice
Joined: 12 Mar 2005 Posts: 34
|
Quote: |
Read up on java programming.
|
my face still hurts from that pimpslap..
i was not specifying each particualr JAR..
i'm not sure why i thought it was any different from win32, but maybe cause Im working on MQ after 12 am on saturuday night, im a Linux newbie, and tired..
it is all working now...
grandmaster...what about the PCF jar? |
|
Back to top |
|
 |
jefflowrey |
Posted: Sun Mar 13, 2005 5:49 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
tricky_knight wrote: |
what about the PCF jar? |
Where did you hear that it would be included with the product? _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|