× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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?

Thanks,
Chad Cornelius, IIS
(720) 921-7835


-----Original Message-----
From: Barbara Morris [mailto:bmorris@xxxxxxxxxx] 
Sent: Friday, September 23, 2005 4:01 PM
To: java400-l@xxxxxxxxxxxx
Subject: Re: Starting JVM in RPG Before Making a Java Method Call

Barbara Morris wrote:
> 
> (None of the links to the source code worked for me on the site you
> posted, so I can't tell how it handles the classpath.)
> 

I managed to get to the source code using the "available for download"
link at the top.  The procedure that starts the JVM is very simple, and
it doesn't retrieve the CLASSPATH environment variable, so the system's
default classpath (just the base classes) is being used.  I think if you
use the code at the link I posted, you should be ok.

(I would just let RPG start the JVM, though.  It's much easier that
way.)


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.