Search code examples
javawebsphereclasspathibm-rad

Runtime Classpath in WAS


In RAD, when we create a project, and go Properties, there is an option called Java EE Module Dependencies. When we add some jars here, does it add it to the runtime path?
What is this option for?
Also, when WAS is running and multiple EARs are deployed, how will WAS pickup the runtime classpath for each EAR? Will it be the same for all EARs?
Will it just take the Build path entries for each EAR?


Solution

  • the runtime class paths are a combination of the following.

    1. the class path & jar files configured as part of the shared libraries (can be set from the environment menu item)
    2. the applications class path (ie., <>/.../lib)
    3. any additional configuration (for classpath) made while configuring the java instance for websphere.