I'm working on a project using Java API for CPLEX 12.4, which must work in 32 and 64 bit architectures. When I pack the project with the library oplall.jar from CPLEX 12.4 64bit and the appropiate .dlls it works fine, but when i deploy the application in a 32bit architecture with the same oplall.jar and just change the dlls to the ones in CPLEX 12.4 32bit I get the following error:
The way we solved it is rebuilding the project with the oplall.jar from CPLEX 12.4, but then It doesn't work for 64 bit architectures (using of course the 64 bit dll) and I get this error:
As in the documentation of the product doesn't say anything about using the same oplall.jar for different bitness, my question is the following: Is it necessary to use one oplall.jar for each architecture? If it is like that why? And shouldn't it be documented?
Thanks in advance.