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.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2010-03-09T15:02:48Z by StormyWaters
Pinned topic Question about Class Loader
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2010-03-09T15:02:48Z at 2010-03-09T15:02:48Z by StormyWaters