Clearing classloader cache
- From: Ulrich Eckhardt <eckhardt@xxxxxxxxxxxxxx>
- Date: Thu, 26 Apr 2007 12:41:21 +0200
Greetings!
In the Java console, there is an option to flush the classloader cache ('x'
key). What I'd like is a way to trigger this flush either in Java or
through an external program, but in a scriptable way - that's why the
console is out. Any idea how to do that?
The problem I'm trying to avoid is stale instances of an applet I'm
developing. I regularly forget to flush the cache after changes and others
might not even know there were changes, so compiling these applets and then
flushing the cache as part of installation would be my approach to fix this
annoyance, but I don't know how. Another approach would be to actively
force the new classes into the cache, which would be even better, since it
doesn't affect the whole cache.
thanks for your help
Uli
--
Sator Laser GmbH
Geschäftsführer: Ronald Boers, Amtsgericht Hamburg HR B62 932
.
- Follow-Ups:
- Re: Clearing classloader cache
- From: Tom Hawtin
- Re: Clearing classloader cache
- Prev by Date: Re: how to login into a website automatically in a java application without typing the username and password manually
- Next by Date: Re: how to login into a website automatically in a java application without typing the username and password manually
- Previous by thread: Working with data that has multiple columns and rows
- Next by thread: Re: Clearing classloader cache
- Index(es):
Relevant Pages
|
|