|
"cornelius, chad" wrote: > > Barbara, > > I did get the example to work from the link you provided. However, the > first call to a Java method still takes around 15+ seconds. We are using > JDK 1.4. I am not sure if that's a problem or not since the JNI Module > defines OS400_JVM_12. Do your method calls perform quickly? > Do you mean that after you manually started the JVM, then the first method call after that took 15+ seconds but subsequent calls were faster? I would have expected the "start JVM" part to take 15+ seconds and then all method calls to be relatively fast. I don't think there is any way to speed up the starting of the JVM. JDK 1.4 should be fine with OS400_JVM_12. The Java invocation API changed between JDK 1.1 and 1.2, but it's still the same as the 1.2 JDK for all subsequent JDKs; by defining OS400_JVM_12 you are just saying you are using the newer form of the invocation API.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.