JMS is a Java API, so it can only be used with Java applications. But the messaging services that JMS is used with -e.g. MQ series- generally have APIs for a number of different languages. Check the documentation of the one you're using to see which languages it supports.
I'm a lumberjack and I'm okay, I sleep all night and work all day. Lumberjack ad: