× 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.



Thanks everyone for your help with this JVM/Activation group issue.  I
understand it much better now.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of Barbara Morris
Sent: Monday, August 08, 2005 11:02 AM
To: java400-l@xxxxxxxxxxxx
Subject: Re: JVM and activation groups in OS/400

Dan Feather wrote:
> 
>         I think you will probably want to switch the order of those
> operations... call a CL to set the CLASSPATH environment variable to
> what you need it to be for your job, then start your JVM and it should
> use that classpath.
> 
>         Can you switch the classpath of a JVM while it is running? I
> don't think you can... maybe I am wrong.
> 

Dan, you're right.  You can't switch the classpath after the JVM has
started.

I think you could dynamically load the classes using your own class
loader, but I haven't experimented with that yet. 
http://java.sun.com/j2se/1.4.2/docs/api/java/lang/ClassLoader.html


As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.