The first one found on the way to classes. those. the first jar containing your class will be used.
You cannot control it from the JVM, but you can control the class path - make sure that the one you want is listed / found first in the class path.
Bohemian
source share