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 » General Discussion » MS0P

Post new topic  Reply to topic
 MS0P « View previous topic :: View next topic » 
Author Message
RNStanich
PostPosted: Mon Nov 19, 2007 9:10 am    Post subject: MS0P Reply with quote

Acolyte

Joined: 23 Apr 2002
Posts: 64

Has anyone used the command line option in this support pack? I seem to be having classpath difficulties, the ole java class not found.

I'm working off a pretty standard install of WMQ v6.0.2.2 on Windows. The issue seems to be the "d:\Program Files\IBM..." path when setting up the com.ibm.mq.jar path. Seems the space between Program and Files is messing up. I've tried with and without quotes.

Mostly wondering if there were additional setup steps other than the installation path as described in the Readme. Thanks.
_________________
Regards, Bob
Back to top
View user's profile Send private message
markt
PostPosted: Mon Nov 19, 2007 9:33 am    Post subject: Reply with quote

Knight

Joined: 14 May 2002
Posts: 508

Are you using Java 5 or 1.4?

I found that there's something different in the classpath processing with Java 5 - changing the last line of the batch file to


%j%\java -cp "%c%" -Djava.library.path=%o% com.ibm.mq.explorer.events.stats.core.Main %1 %2 %3 %4 %5 %6 %7 %8 %9

seemed to fix it. Maybe there's a better way, but that worked for me.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Nov 19, 2007 1:36 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It's always been an issue to have spaces on Java classpaths - perhaps they've finally fixed that in 1.5.

I habitually modify my system paths to use shortnames on Windows, or more usually - don't install anything in "Program Files" that I don't have to.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
RNStanich
PostPosted: Fri Nov 23, 2007 8:24 am    Post subject: Reply with quote

Acolyte

Joined: 23 Apr 2002
Posts: 64

Thanks for the replies. I am using Java 1.4

Odd about the Program Files behavior. Other than the drive letter, I usually install taking default path. I have other .bat files that define the classpath at runtime; can't figure this one out. thanks again...
_________________
Regards, Bob
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 » General Discussion » MS0P
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.