• 1 reply
  • Latest Post - ‏2010-03-09T15:02:48Z by StormyWaters
6 Posts

Pinned topic Question about Class Loader

‏2010-03-08T22:02:26Z |
I have an Java application that uses a specific build of the jt400.jar to connect locally to an AS400 System. I have it specified in my classpath and everything is working fine on most systems, however, on one system it seems to be located another jt400.jar on the system which doesn't work with my application as it is an older build. This jt400.jar apparently is being used by another application on the System, which prevents me from renaming/deleting it.

I was wondering how exactly is this jar being located? As far as I know its not in an extension or boot library. Also, I'm creating a new JVM instance before I execute my Java application, so how is another programs classpath affecting my classpath.

I have been researching and looking into this for the past couple days, and the only thing I can think of is maybe there's a cache somewhere on the system that caches Java classes for performance across JVM instances. Is this true? Could this be affecting my program on this system?

Any help/ideas would be appreciated.

Thank you,
Updated on 2010-03-09T15:02:48Z at 2010-03-09T15:02:48Z by StormyWaters
  • StormyWaters
    6 Posts

    Re: Question about Class Loader

    Double posting on another forum located here(