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 IBM MQ Support » Setting java.library.path

Post new topic  Reply to topic
 Setting java.library.path « View previous topic :: View next topic » 
Author Message
Boomn4x4
PostPosted: Mon Jan 16, 2012 5:54 am    Post subject: Setting java.library.path Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

I'm trying to get the eclipse that runs the MQ explorer to also support my C/C++ development environment. I have things working well up to the point that I'm trying to get my SVN source control working. The SVN plug-in requires eclipse to recognize the java.library.path to see /opt/csvn/lib directory.

I launch eclipse using the mq "strmqcfg" command.

Its my understanding that this command is a binary that executes the "runmqcfg" or "runmqcfg_rcp" scripts.

In those scripts I see the line that appears to set the java.lib.path:
Code:
AMQ_EXPLORER="$AMQ_EXPLORER -D\"java.library.path=$MQ_JAVA_LIB_PATH:$MQM_LIB_PATH\""


I have appended /opt/csvn/lib so that the line now looks like
Code:
AMQ_EXPLORER="$AMQ_EXPLORER -D\"java.library.path=$MQ_JAVA_LIB_PATH:$MQM_LIB_PATH:/opt/csvn/lib\""


However, when I run eclipse, SVN is still not picking that libraray path up, its throwing an error showing the java.libarary.path as:
Code:
java.library.path = /client_root/opt/mqm/java/jre/bin:/opt/mqm/java/lib:/opt/mqm/lib:/fiscal/dlc/odbc/lib:/opt/mqm/java/lib:/usr/lib/xulrunner-1.9.0.8:/usr/lib


I've also tried adding this to Eclipses Preferences->Java->Classpath Variables... but it doesn't pick it up from there either.

Any suggestions on how to set this?
Back to top
View user's profile Send private message
Boomn4x4
PostPosted: Mon Jan 16, 2012 6:57 am    Post subject: Reply with quote

Disciple

Joined: 28 Nov 2011
Posts: 172

I was making it a lot harder than I needed too.... Just needed to add the path to the LD_LIBRARY_PATH ....

Problem solved.
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 IBM MQ Support » Setting java.library.path
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.