Running the Java samples on UNIX or Linux operating systems

Each sample subdirectory contains the following files:

  • A build.sh file that builds the JavaTM sample on UNIX or Linux® operating systems.
  • A readme.txt file that describes the sample and describes configuration steps that are required after compiling the sample program.
  • One or more .java source files.

In addition, the AuthenticationProvider directory contains the following files:

  • A build-samples.sh file that allows you to build all the samples at once on UNIX or Linux operating systems.

Procedure

  1. Ensure that a Java™ Development Kit is installed.

    Note: The version of the JDK that you use must be one of the supported Java versions.

  2. Add the location of the JDK bin folder to your path environment variable.
  3. Run build-samples.sh to build all the samples or an individual build.sh to build a single sample.
  4. Read the readme.txt file to get the instructions for configuring and using an individual sample.