Verifying your installation (AIX only)
When you complete your SDK installation on an AIX® system by using an installp package, you can verify that the installation was successful by removing any environment settings and running the java -version command.
Before you begin
To ensure that the verification process behaves consistently, enter the following commands:
unset LIBPATH
unset CLASSPATH
unset JAVA_COMPILER
export PATH=install_dir/jre/bin:install_dir/bin:$PATH
About this task
When you issue the command:
java -version
you see output like the following
messages, where dates, times, and specific build numbers might be different:On AIX from service refresh 5 fix pack 5:
java version "1.8.0_151" Java(TM) SE Runtime Environment (build 8.0.5.5 - pap6480sr5fp5-20171109_02(SR5 FP5)) IBM J9 VM (build 2.9, JRE 1.8.0 AIX ppc64-64 Compressed References 20171102_369060 (JIT enabled, AOT enabled) OpenJ9 - 7ade437 OMR - 1b656cb IBM - 59c3d96) JCL - 20171109_01 based on Oracle jdk8u151-b12
- On AIX before service refresh 5:
java version "1.8.0" Java(TM) SE Runtime Environment (build pap6480-20140729_01) IBM J9 VM (build 2.8, JRE 1.8.0 AIX ppc64-64 Compressed References 20140725_207966 (JIT enabled, AOT enabled) J9VM - R28_jvm.28_20140725_0202_B207966 JIT - tr.r14.java_20140714_68218.03 GC - R28_jvm.28_20140725_0202_B207966_CMPRSS J9CL - 20140725_207966) JCL - 20140722_01 based on Oracle jdk8u20-b20
What to do next
When verification is complete, log on again and review your environment settings. Check for conflicts that might arise from the values that you assigned to these variables.
On 32-bit AIX, if the directory
.hotjava does not exist, the applet viewer creates the directory
.hotjava in your home directory. To confirm that the directory has been
created, use the command:
ls -a ~