Determining if Java is set up correctly - Assure_DB2_Data_Monitor_(DB2MON) - Assure_Elevated_Authority_Manager_(EAM) - Assure_Encryption - Assure_Monitoring_and_Reporting_(AMR) - Assure_Secure_File_Transfer - Assure_Secure_File_Transfer_ - Assure_Secure_File_Transfer_PGP - Assure_Secure_File_Transfer_with_PGP - Assure_Security_Multi-Factor_Authentication_(MFA) - Assure_System_Access_Manager_(SAM) - Required_for_All_Modules - assure_ioptimize - assure_itera - assure_mimix - 10.0

License Manager for IBM i Products

Product type
Software
Portfolio
Integrate
Product family
Assure
Product
Assure Security > Assure Encryption
Assure Security > Assure DB2 Data Monitor (DB2MON)
Assure MIMIX™ Software
Assure Security > Assure Monitoring and Reporting (AMR)
Assure Security > Assure Elevated Authority Manager (EAM)
Assure Security > Assure Security Multi-Factor Authentication (MFA)
Assure Security > Assure Secure File Transfer with PGP
Assure Security > Assure Secure File Transfer
Assure Security > Required for All Modules
Assure iOptimize
Assure iTERA
Assure Security > Assure System Access Manager (SAM)
Version
10.0
Language
English
Product name
Assure
Title
License Manager for IBM i Products
Copyright
2023
First publish date
1999
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:

    1. 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
      $
    2. 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.