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 API Support » iSeries classpath for jar files

Post new topic  Reply to topic
 iSeries classpath for jar files « View previous topic :: View next topic » 
Author Message
vennela
PostPosted: Thu Feb 06, 2003 3:38 pm    Post subject: iSeries classpath for jar files Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

How do I set classpath for the MQ jar files on iSeries.

I can set the classpath from Q Shell using this command:

export -s classpath==.:/myclasses.zip:/Product/classes
All the MQ jar files are in this IFS directory:
/QIBM/ProdData/mqm/java/lib

I tried to set the classpath this way:
export classpath=.:/QIBM/ProdData/mqm/java/lib/com.ibm.mq.jar:....
(and all the other jar files). But I can't compile the program.

My first three lines of the program look like this

import java.io.*;
import java.util.*;
import com.ibm.mq.*;

public class MQClientPOPut{


Can somebody help me set the classpath here
-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
vennela
PostPosted: Thu Feb 06, 2003 5:32 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Found it myself:

You need to do the classpath with an upercase (CLASSPATH)
like
export -s CLASSPATH==.:/QIBM/ProdData/mqm/java/lib/com.ibm.mq.jar:....

Thanks

-------
Venny
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ API Support » iSeries classpath for jar files
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.