I expose my context :
I have two Java programs that run on a unique Weblogic Server : program A and program B. These ones are launched by two ksh :
programA.ksh and programB.ksh
Both need C.jar but in different versions (but with exactly the same package and classes) :
- program A need C-1.0.jar
- program B need C-2.0.jar
I precise that both programs share the same weblogic classpath.
So, my classpath contains in that order :
.....
C-1.0.jar
C-2.0.jar
.....
How can I do so that each program finds its good library ?
For instance, with my actual configuration, program B will always use C-1.0.jar instead of C-2.0.jar because of the priority position on classpath.