Installation

Previous Next Contents

3 Installation

This chapter explains how to install the Java Architecture for XML Binding (JAXB) TCK software.

After installing the software according to the instructions in this chapter, proceed to Chapter 4, "Setup and Configuration," for instructions on configuring your test environment.

3.1 Obtaining the Reference Implementation

You can obtain the JAXB Reference Implementation (RI) (Eclipse GlassFish 5.0) software from Java Licensee Engineering (https://javapartner.oracle.com).

3.2 Installing the Software

Before you can run the JAXB TCK tests, you must install and set up the following software components:

  • Java EE 8 RI or, at a minimum, a Web server with a Servlet container

  • Java SE 8

  • JAXB 2.3 RI, which is Eclipse GlassFish 5.0

  • JAXB TCK version 2.3, which includes:

    • (no additional libraries)

  • The JAXB 2.3 Vendor Implementation (VI)

Follow these steps:

  1. Install the Java SE 8 software, if it is not already installed.
    Download and install the Java SE 8 software from http://www.oracle.com/technetwork/java/javase/downloads/index.html. Refer to the installation instructions that accompany the software for additional information.

  2. Install the JAXB TCK 2.3 software.

    1. Copy or download the JAXB TCK software to your local system.
      You can obtain the JAXB TCK software from the Java Licensee Engineering (https://javapartner.oracle.com) Web site. The JAXB TCK software is located in the Web site’s Download Center area.

    2. Use the unzip command to extract the bundle in the directory of your choice:
      unzip jaxb-23-fcs-tck-<build_letter>-<date>.zip
      This creates the TCK directory. The TCK is the test suite home, <TS_HOME>.

  3. The zip file above contains the JAXB TCK installer jar file; use this installer to install the JAXB TCK.

    1. Extract the JAXB TCK 2.3 product bundle in the directory of your choice:
      java -jar PATH-TO-JAXB-TCK-JAR options [-o outputdir]
      The following descriptions are provided for the installation command:

      • java: Java SE 8 or later platform reference implementation.

      • PATH-TO-JAXB-TCK-JAR: The path of the JAXB TCK 2.3 JAR file to install.

      • options: Unless a user specifies options, the default behavior installs JAXB TCK 2.3 in verbose mode (writes the file names it is installing to standard out) into the current directory. The installation utility accepts the following options:

        • -q: Installs JAXB TCK 2.3 in quiet mode.

        • -l: Prints a list to standard output of the options that will be installed.

        • -onError mode : Sets the mode of sensitivity that the installer has to errors. The –onError : Instructs what to do when it encounters an error while installing JAXB TCK 2.3. This option has three valid modes:

          • ignore: Instructs the installer to ignore any errors and continue installation.

          • report: Instructs the installer to continue with the installation but report any errors when the installation is completed.

          • fail: Instructs the installer to stop installation once an error is encountered.

        • –usage: Prints a usage message to standard out and exits (not listed as an option in the usage message).

        • –help: Prints a help message to standard out and exits (not listed as an option in the help message).

      • [-o outputdir]: Installs JAXB TCK 2.3 into the directory specified by outputdir.

    2. This action creates the jaxb-tck23 directory. The topmost JAXB TCK installation directory is referred to as the Test Suite Home, or <TS_HOME>.

  4. Install the JAXB 2.3 Reference Implementation.
    The Reference Implementation is used to validate your initial configuration and setup of the JAXB TCK 2.3 tests, which are explained further in Chapter 4, "Setup and Configuration."
    The JAXB RI can be obtained from Java Licensee Engineering (https://javapartner.oracle.com).

  5. Install the JAXB Vendor Implementation (VI) to be tested.
    Follow the installation instructions for the particular VI under test.


Previous Next Contents
Eclipse Foundation Logo  Copyright © 2018, Oracle and/or its affiliates. All rights reserved.