FreeKB - Classpath and class loader in WebSphere
Classpath and class loader in WebSphere

Home > Search

JVMs local classpath

  1. In the left panel of the WebSphere admin console, expand Servers > Server Types > WebSphere application servers.
  2. Select a JVM.
  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 JVM for this change to take effect.

In this example, the JVM 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 a JVM 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 ad582 in the box below so that we can be sure you are a human.