• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

Classes working even after removing jar

 
Ranch Hand
Posts: 273
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Guys,

I have a typical scenario.
I am using a web application. Some class files are getting accessed from a .jar file. Now, I expect the system to give me errors/exceptions when I remove the .jar file.

So, I have removed the .jar file.

Instead of getting errors, the application is running smoothly even after removing the .jar file. I guess a copy of that .jar file would have been stuck somewhere.

Is there anyway to find out where that .jar file is sticking in the system or any other way to find out? Like any JRE caching JAR file or any JAR caching concepts...i don't know...just throwing ideas.

This is on windows only.

Thanks,
Guru
 
Bartender
Posts: 3648
16
Android Mac OS X Firefox Browser Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do check the <jre_root>/lib folder if your jar files are there. This is the default place.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just to be clear, have you restarted the application after removing the jar files? If you remove them during the runtime of an application they may have been read and cached by the JVM already.
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Restart the Application
 
Replace the word "snake" with "danger noodle" in all tiny ads.
Clean our rivers and oceans from home
https://www.kickstarter.com/projects/paulwheaton/willow-feeders
reply
    Bookmark Topic Watch Topic
  • New Topic