<JAVAEE_HOME>/bin/asadmin start-domain
|
Installation |
| Previous | Next | Contents |
This chapter explains how to install the Java EE 8 CTS software and perform a sample test run to verify your installation and familiarize yourself with the CTS.
After installing the software according to the instructions in this chapter, proceed to Chapter 5, "Setup and Configuration," for instructions on configuring your test environment.
This chapter covers the following topics:
Before You Begin
If the Java EE 8 Reference Implementation (RI) is already installed, it is recommended that you shut it down and start with a new, clean RI installation.
Install the Java SE 8 JDK bundle, if it is not already installed.
Refer to the JDK installation instructions for details. The JDK bundle
can be downloaded from
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Create or change to the directory in which you will install the Java EE 8 RI.
Copy or download the Java EE 8 RI.
Unzip the Java EE 8 RI bundle.
Set the following environment variables:
JAVAEE_HOME to the RI directory you just created
JAVA_HOME to the JDK you want to use
Start the Java EE 8 RI by executing the following command:
<JAVAEE_HOME>/bin/asadmin start-domain
Complete the following procedure to install the Java EE 8 CTS on a system running the Solaris, Linux, or Windows operating system.
|
Note
|
When installing in the Windows environment, the Java EE 8 RI, Java SE 8
JDK, and CTS should be installed on the same drive. If you must install
these components on different drives, be sure to change the
|
Copy or download the CTS 8 software.
Change to the directory in which you want to install the Java EE 8
CTS software and use the unzip command to extract the bundle:
cd install_directory unzip javaeetck-nnn.zip
This creates the javaeetck directory. The
install_directory`/javaeetck` directory will be TS_HOME.
3. Set the TS_HOME environment variable to point to the javaeetck
directory.
After you complete the installation, follow the directions in Chapter 5, "Setup and Configuration," to set up and configure the Java EE 8 CTS test suite.
This procedure is optional. After installing the Java EE 8 RI and Java EE 8 CTS, you may want to verify your installation by running the CTS samples against the Java EE 8 RI. See Chapter 5, "Setup and Configuration," for complete configuration instructions.
Set the following properties in your <TS_HOME>/bin/ts.jte file:
javaee.home=<JAVAEE_HOME> javaee.home.ri=<JAVAEE_HOME> mailHost=<mail-server-host> // the name of an accessible SMTP server mailuser1=firstname.lastname@xyz.com // a valid email address javamail.password=password // password for mailuser1 orb.host=localhost // the name of the machine running the Java EE 8 RI orb.host.ri=localhost // the name of the machine running the Java EE 8 RI
Use these commands to run the Java EE 8 CTS sample tests:
cd <TS_HOME>/bin ant start.javadb.asadmin ant config.vi cd <TS_HOME>/src/com/sun/ts/tests/samples ant runclient
| Previous | Next | Contents |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.