It is specified by the order in which the resources (i.e. usually jar files) are specified using -classpath option. Resources 'earlier' on the ...
The system class loader checks the JAR files / folders on the class path in order of declaration. If one JAR has version A of a class and another JAR has version B ...
That said, to answer your specific question, when pulling a full directory into a classpath, WebSphere does not do any ordering - it simply retrieves ...
For a .jar or .zip file that contains .class files, the class path ends with the name of ... (bootstrap) classes, any extension classes, and the class path, in that order.
Since Java allows multiple ways to include JAR file in classpath, it becomes
Bootstrap classes are in the rt.jar and several other jar files in the jre/lib directory. ... Classes accessed by a JAR-class-path are found in the following order:.
The buildpack should implement the same ordering rules as JarLauncher : classes, jar files on the file system that are not mentioned in classpath.
For a JAR or zip file that contains class files, the class path ends with the name of ... (bootstrap) classes, any extension classes, and the class path, in that order.
A classpath.idx file can be provided for both jars and wars, and it provides the ordering that jars should be added to the classpath.
properties file, the file I am shipping in my project gets overriden by this file if my jar is not loaded before. Trying to build a Spark (spark.apache.