|
Hi, I used the code from http://faq.midrange.com/data/cache/282.html to clear all Java object created from RPG and since then having problem with JDK version Some how it is not picking version 1.4, THe code works fine with out adding code for clearing java objects I have installed PTF: SI10101 and also set QIBM_RPG_JAVA_PROPERTIES using ADDENVVAR in my CL this is my flow I call CL from RPG which sets the CLASSPATH and the QIBM_RPG_JAVA_PROPERTIES then i do D env s * /free env = getJniEnv(); beginObjGroup (env : 10000); // assume up to 10000 objs needed myobj = whatever; // create some objects myotherobj = whatever(myobj); endObjGroup (env); // free all the objects since // the last beginObjGroup /end-free Ashish __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree
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.