marcoratto / mqjexplorer

Automatically exported from code.google.com/p/mqjexplorer
8 stars 9 forks source link

Windows 7 64-bit: runme.bat has errors #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
After the installation with the JAR setup, the batch file runme.bat doesn't 
work.

Original issue reported on code.google.com by marcora...@gmail.com on 16 Jul 2011 at 1:24

GoogleCodeExporter commented 9 years ago
The solution is to modify the script "runme.bat":

@echo off
setlocal
set PRGDIR=%CD%

SET CPATH=%PRGDIR%\bin\MQJExplorer.jar
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8;%CPATH%
SET CPATH=%PRGDIR%\lib\jhbasic.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\messagingImpl.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\mqjhelp.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\xerces.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\CL3Export.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\CL3Nonexport.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\com.ibm.mq.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\com.ibm.mq.pcf.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\com.ibm.mqjms.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\connector.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\dhbcore.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\fscontext.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\jms.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\jndi.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\jta.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\ldap.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\postcard.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\providerutil.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\IBM_MQSeries-6.0.2.8\rmm.jar;%CPATH%
SET CPATH=%PRGDIR%\lib\log4j\log4j-1.2.15.jar;%CPATH%

"%JAVA_HOME%\bin\java" -Dlog4j.debug -classpath "%CPATH%" 
com.kolban.mqjexplorer.MQJExplorer
if ERRORLEVEL pause
endlocal

Original comment by marcora...@gmail.com on 16 Jul 2011 at 1:26

Attachments: