Load a specific DLL in a Groovy project

I'm new to IDEA, and I've run into a problem.  I'm using Groovy and my program is storing data in an Oracle database.  I have both the 32 and 64 bit Oracle clients on my machine, but the groovy program can only use the 64 bit oci library.  As the 32 bit client is earlier in my path, I get an error (Caught: java.lang.UnsatisfiedLinkError: C:\Oracle\11.2.0\client_32\BIN\ocijdbc11.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform) which just means I need to point to the 64 bit client.  Other programs I'm running, however, require the 32 bit client remain where it is in the general path.  I've tried to add it to the project libraries, but it pays no attention.


Please sign in to leave a comment.