Deploying J2EE archives

To use the deploy command line tool to deploy a J2EE archive, use these options to specify the JDK version, the runtime library, and the compiler version for compiling the generated Java source files:

Compiler version

Options

JDK 1.4

-jdk14 -rt14 -target14

JDK 1.5

-jdk15 -rt15 -target15

JDK 1.6

-jdk16 -rt16 -target16

For example, to deploy test.war, load eas-server-15.jar, and compile the generated Java source files with the JDK 1.5 compiler, run:

deploy.bat -jdk15 -rt15 -target15 test.war

The full description of the deploy command is in Chapter 12, “Command Line Tools,” in the System Administration Guide.