FreeKB - IBM WebSphere Classpath and class loader
IBM WebSphere - Classpath and class loader

  1. In the left panel of the WebSphere admin console, expand Servers > Server Types > WebSphere application servers.
  2. Select an application server.
  3. Expand Java and Process Management and select Process definition.
  4. Select Java Virtual Machine.
  5. In Classpath, enter the list of JAR files or the list of directories that contain the JAR files you want the JVM to use.
  6. Select OK.
  7. Select Save.
  8. Restart the application server for this change to take effect.

In this example, the application server is configured to use sample.jar, thus the apps in the JVM will be able to use the com/main/people and com/main/places classes.


You can confirm that view the JARs being used by the app in an application server by navigating to Troubleshooting Class loader viewer > your app.


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter c2faa in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |