Determining if Java is set up correctly - assure_mimix - Latest

Assure Unified Interface Guide

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure MIMIX™ Software for AIX
Version
Latest
Language
English
Product name
Assure Unified Interface
Title
Assure Unified Interface Guide
Copyright
2021
First publish date
2010
Last updated
2024-02-09
Published on
2024-02-09T05:11:34.582000

Use this procedure to determine if Java is correctly set up on your system. Do the following from a command line in the native user interface:

  1. Enter one of the following commands:

    • To check Java 8, enter the command:

    ADDENVVAR ENVVAR(JAVA_HOME) VALUE('/QOpenSys/QIBM/ProdData/JavaVM/jdk80/64bit') CCSID(*JOB) LEVEL(*JOB) REPLACE(*YES)
  2. Start a QShell session by entering the command:

    STRQSH
  3. From the QShell session, run the following commands:

    a.Enter the command:

    java -version

    For Java 8, you should see results similar to the following:

    java version "1.8.0"
    Java(TM) SE Runtime Environment (build pap6480sr3fp10-20160720_02(SR3fp10))
    IBM J9 VM (build 2.8, JRE 1.8.0 OS/400 ppc64-64 Compressed References jvmap64
    80sr3fp10-20160720_02_cr (JIT enabled, AOT enabled)
    J9VM - R28_Java8_SR3_20160719_1144_B312156
    JIT  - tr.r14.java_20160629_120284.01
    GC   - R28_Java8_SR3_20160719_1144_B312156_CMPRSS
    J9CL - 20160719_312156)
    JCL - 20160719_01 based on Oracle jdk8u101-b13
    $

    b.Enter the command:

    java -classpath /qibm/proddata/java400 Hello

    You should see the following:

    Hello World
    $

    If you do not get the expected results, reinstall Java and apply the latest PTFs.

  4. To exit the QShell session, press F3.