ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » running MQ Java program linux

Post new topic  Reply to topic
 running MQ Java program linux « View previous topic :: View next topic » 
Author Message
tricky_knight
PostPosted: Sat Mar 12, 2005 7:42 pm    Post subject: running MQ Java program linux Reply with quote

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
View user's profile Send private message
fjb_saper
PostPosted: Sat Mar 12, 2005 8:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
tricky_knight
PostPosted: Sat Mar 12, 2005 9:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Sun Mar 13, 2005 5:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » running MQ Java program linux
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.