|
Buck wrote: > Aaron wrote: > > Whoa, wait a sec, do you mean that I am bringing down and starting the JVM > > each time I change or attempt to change the CLASSPATH? > > I think it's more like 'When the JVM starts, it fetches the CLASSPATH and > uses that one no matter what you set after that point.' > --buck > Right. Aaron also wrote: >If I am another programmer in my shop, why should I have to care if Aaron used >Java behind the scenes for his RPGMail tool? If it caused big problems then >yes they will need to care, but I still don't see the need if I can just >monitor for a message if a CLASSPATH entry add attempt fails. Am I missing >something? What if you use someone else's coolio tool that happens to use Java, and then you try to run your RPGMail? That first classpath wouldn't include your directories - adding your directories to the CLASSPATH envvar wouldn't make any difference because the JVM would have already been started with the first classpath. On V5R1, especially if you're doing development, you might not notice this problem, because all the ILE compilers run in *NEW. When the compile ends, the *NEW actgrp ends, which causes the JVM to end. When you call your Java-using program again, you get a new JVM. On V5R2, this doesn't happen any more.
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.