Using the command line it compiles and runs fine. It's purpose is to place a message on a message queue.
I am now trying to load this class to an Oracle database as a Java Stored Procedure but it will not compile because it cannot find the 3 classes listed above.
I have set JAVA_INSTALL_PATH=C:\Program Files\IBM\WebSphere MQ\Java\lib but when I physically look inside this directory I cannot find 'com.ibm.mq.jms.jar'. Instead there is 'com.ibm.mqjms.jar' which incidentally contains the 3 classes listed above.
Immediately I suspected this as a problem so as an experiment I recompiled my standalone class but this time with the 3 imported classes referenced with the following subtle modifications:
What you are seeing is the difference between package names and jar file names. There is no need for the 2 to correspond.
I can create a jar file call Fred.jar and I can put in it various java classes in pages my.package.name another.different.package.name and anything else I feel like.
It will make no difference what the jar file is called. As the program compiles and runs fine I guess there is something wrong with your Oracle setup / environment.
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