On Wed, 18 Aug 2010, Roman Chyla wrote:

I have noticed that the JCC 2.6 has a env.classpath and also a method
_addClassPath()

When I use _addClassPath, jvm.classpath shows the new change -- can we
use this method to add classpath when VM is already running?

Yes.

Will it stay, the _name looks like is not meant to be public?

The reason it is named with a '_' prefix is that it's a hack on the system URL classloader, not a general way to affect all class loaders in the VM that you might have created on your own.

Yes, this method is here to stay, it is used by JCC's shared runtime mode.

Andi..

Reply via email to