Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Where is javai.dll in JDK 1.2.2 ?
Adam Lipscombe wrote:
> Folks,
>
> I am trying to use the Oracle oci8 JDBC driver on WinNT.
>
> When I run the test application I get an error saying that the system cannot
> find javai.dll.
> I am using the java.exe with JDK 1.2.2 - the -version flag gives:
> "Classic VM (build JDK-1.2.2-001, native threads, symcjit)"
>
> javai.dll seems to be present in JDK 1.1.7 that ships with Oracle 8, however
> there
> is no such file in JDK 1.2.2.....
>
> Why is javai.dll required?
> Where has it gone in JDK 1.2.2
> Does this mean that the oci8 driver cannot be used with JDK 1.2.2 ?
> (The "thin" all-java driver works fine)
>
> Thanks in advance....
>
> Adam Lipscombe
javai.dll is the run-time library that allows native C/C++ programs to invoke and use the Java VM. Java 2 renamed the dll (I forget the new name off-hand). They also changed the JNI invokation API, but the older API is still supported. All that should be required of Oracle is for them to re-link against the new Java dll.
You might need to get a new JDBC driver. You might be able to hack the existing one by just doing a binary edit on their .dll and changing the name from javai to the new name, but that might be risky.
--
"My new computer's got the clocks, it rocks
But it was obsolete before I opened the box" - W.A.Y.
Received on Sat Dec 11 1999 - 01:40:19 CST