Am trying execute java program by using batch file
In this Program am using
C:\Program Files (x86)\IBM\WebSphere MQ\java\lib\
com.ibm.mq jar file
am using this code in batch file
set path="C:\Program Files\Java\jdk1.7.0_60\bin";
set classpath="C:\Program Files\Java\jdk1.7.0_60\lib";
javac Put.java (Put means class name)
java Put
but it shows
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/MQException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2570)
at java.lang.Class.getMethod0(Class.java:2813)
at java.lang.Class.getMethod(Class.java:1663)
at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
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