20 Ocak 2014 Pazartesi

How to set a classpath in Websphere Application Server v8.5

When JSP files or Servlets import external java packages, the CLASSPATH must be set correctly in order for the WebSphere compiler to access the required classes.

There are several methods to set the CLASSPATH:
  • You can set the CLASSPATH in one of the batch files that WebSphere Application Server uses to initialize the environment variables. It is called setupCmdLine (.bat for Windows, .sh for Unix) and it is located in <WebSphere installation root>/AppServer/bin. Open this file and add the path to your jar files at the end of WAS_CLASSPATH line:
  • You can also copy the required classes and JAR files into one of the directories listed in the table below. By default, these directories are included in the CLASSPATH of the WebSphere Java compiler.

















http://www.globfx.com/support/swfchartgen/kb.php?id=0bd97e55-3f6f-4f1f-91db-c5222dccbcbf



Hiç yorum yok:

Yorum Gönder