caching - How do I clear a specific file in the Java cache? -
caching - How do I clear a specific file in the Java cache? -
i remove specific cached jar file java program. java cache behaves weirdly sometimes, , keeps loading old jar if new 1 should used.
the "java command panel" has "java cache viewer" feature allows see cached jar files.
i wondering if there way observe cached jar file straight java program, , remove file. there api allowing that?
yes! i've found solution problem. there's command line statement "javaws" let's handle specific java-related actions. can type javaws console/terminal , it'll give options remove specific application, add together code:
runtime.getruntime().exec("javaws -uninstall <jnlp file>");
where can file or url.
hope helps!
java caching jar
Comments
Post a Comment