1. How can I find version? -- not sure. My guess would be that 5.12.1 jars will be OK.
2. Which directory for jars? -- Most JMS jars behave better in DEVTEST_HOME/lib/shared. Jars in lib are loaded when the JVM process starts up. This is one reason you can usually see the JARs loading in the log files when the JVM starts. Jars in hotdeploy are loaded in a lazy fashion. For this reason, I always place JMS and JDBC jars in lib as a best practice. IBM MQ in particular, and most EMS, jars should go in lib.
Assuming you use version 5.12.1, when the Registry and Workstation are restarted, open the logs, find the process that starts, and look for something like this:
yyyy-MM-dd HH:mm:SS,719Z (HH:mm) [main] INFO com.itko.lisa.test.Environment - JVM process id: 67900
:
:
yyyy-MM-dd HH:mm:SS,724Z (HH:mm) [main] INFO com.itko.util.LogUtilities - Classpath: ...\..\lib\shared\activemq-all-5.12.1.jar
NOTE: I have seen situations where colleagues placed jars in lib/shared and they did not load. I have not seen that in my installs. If that happens, open a ticket with Support so they can review the installation.