9/9/22, 3:23 PM Install Java 8 on AIX | Mengejar Impian
Mengejar Impian
// How much you give, that's more you get
Install Java 8 on AIX
Posted on 4 August 2016 by adha
aix:root:/>oslevel -s
7100-02-04-1341
To see how to installation from IBM website bellow
http://www-01.ibm.com/support/docview.wss?uid=isg3T1022693#install (http://www-01.ibm.com/support/docview.wss?uid=isg3T1022693#install)
Step 1 Download
A. Download the desired JRE and/or SDK filesets for the specific Service Release or Fix Pack release for the desired version(s) from the “IBM Java for AIX Service
Information and Download Guide” web page:
http://www-01.ibm.com/support/docview.wss?uid=isg3T1022644 (http://www-01.ibm.com/support/docview.wss?uid=isg3T1022644)
B. Create a temporary directory, then save a copy of the downloaded files into that directory:
aix:root:/>mkdir -p /tmp/java_install/
Save a copy of the downloaded files to /tmp/java_install/
Change directory to /tmp/java_install/ it’s directory your created
aix:root:/>cd /tmp/java_install/
Show list your files on /tmp/java_install/
aix:root:/tmp/java_install>ls
Java8_64.jre.tar.gz Java8_64.sdk.tar.gz
C. Extract the contents of the download files in the temporary directory. In a command prompt, execute the commands
aix:root:/tmp/java_install>gunzip -c Java8_64.jre.tar.gz | tar -xvf-
aix:root:/tmp/java_install>gunzip -c Java8_64.sdk.tar.gz | tar -xvf-
aix:root:/tmp/java_install>ls
Java8_64.jre Java8_64.sdk Java8_64.jre.tar.gz Java8_64.sdk.tar.gz
Step 2 Install
A. Command line installation
1. From a command prompt, and while logged in as the root user, execute the commands:
aix:root:/tmp/java_install>installp -agXYd . Java8_64.jre Java8_64.sdk 2>&1 | tee installp.log
Installation Summary
——————–
Name Level Part Event Result
——————————————————————————-
Java8_64.sdk 8.0.0.0 USR APPLY SUCCESS
Java8_64.jre 8.0.0.0 USR APPLY SUCCESS
Java8_64.jre 8.0.0.0 ROOT APPLY SUCCESS
Step 3 Confirm
Confirm that IBM Java for AIX has been installed using the following methods
A. From a command prompt, execute the command:
In the output listed, the Java8_64 versions selected during the installation should be listed as COMMITTED
aix:root:/tmp/java_install>lslpp -l “Java*” | grep Java8
Java8_64.jre 8.0.0.0 COMMITTED Java SDK 64-bit Java Runtime
Java8_64.sdk 8.0.0.0 COMMITTED Java SDK 64-bit Development
Java8_64.jre 8.0.0.0 COMMITTED Java SDK 64-bit Java Runtime
B. From a command prompt, execute the command:
aix:root:/tmp/java_install>/usr/java8_64/jre/bin/java -version
java version “1.8.0”
Java(TM) SE Runtime Environment (build pap6480-20150129_02)
IBM J9 VM (build 2.8, JRE 1.8.0 AIX ppc64-64 Compressed References 20150116_231420 (JIT enabled, AOT enabled)
J9VM – R28_Java8_GA_20150116_2030_B231420
JIT – tr.r14.java_20150109_82886.02
GC – R28_Java8_GA_20150116_2030_B231420_CMPRSS
J9CL – 20150116_231420)
JCL – 20150123_01 based on Oracle jdk8u31-b12
C. Set path java
check the old java
aix:root:/tmp/java_install>java -version
https://sarungpandan.wordpress.com/2016/08/04/install-java-8-on-aix/ 1/3
9/9/22, 3:23 PM Install Java 8 on AIX | Mengejar Impian
java version “1.6.0”
Java(TM) SE Runtime Environment (build pap6460sr11-20120806_01(SR11))
IBM J9 VM (build 2.4, JRE 1.6.0 IBM J9 2.4 AIX ppc64-64 jvmap6460sr11-20120801_118201 (JIT enabled, AOT enabled)
J9VM – 20120801_118201
JIT – r9_20120608_24176ifx1
GC – 20120516_AA)
JCL – 20120713_01
check where is java path
aix:root:/>which java
/usr/java6_64/bin/java
Set path what’s version your using, this i’m using new installed java 8 version
aix:root:/>export PATH=/usr/java8_64/jre/bin/:/usr/java8_64/bin:$PATH
Permanent your path
aix:root:/>vi ~/.profile
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java8_64/bin:usr/java8_64/jre/bin
export PATH
Check again your java version
aix:root:/>java -version
java version “1.8.0”
Java(TM) SE Runtime Environment (build pap6480-20150129_02)
IBM J9 VM (build 2.8, JRE 1.8.0 AIX ppc64-64 Compressed References 20150116_231420 (JIT enabled, AOT enabled)
J9VM – R28_Java8_GA_20150116_2030_B231420
JIT – tr.r14.java_20150109_82886.02
GC – R28_Java8_GA_20150116_2030_B231420_CMPRSS
J9CL – 20150116_231420)
JCL – 20150123_01 based on Oracle jdk8u31-b12
Sponsored Content
Lima: Cómo obtener un segundo ingreso invirtiendo $250 en las mejores acciones
No pierdas esta oportunidad | Sponsored
(https://tracking.capital-grn.com/9f6bb28b-77b0-433b-88af-932a0d28c7d5?adid=00ae32664d9c415f2947cbb990a8fe5a63&adtitle=%24%7Bcity%7D%24%3A+C%C3%B3m
¡Los Estados Unidos le ofrece el mejor futuro para usted y su familia!
Usafis | Sponsored
(https://lp.usafis.org/LP/Usafis/your_eligibility_check/?utm_lang=es&af=wiz_2732_faut&Campaign_Id=0059c2acadaa0a8cc956bc1e3591a422db&Creative=%C2%A1Los+
Lima: Las cabinas de cruceros no vendidas casi se están regalando
Ofertas de cruceros | Anuncios de búsqueda | Sponsored
(https://redirectsystems.com?
mk=W4i7zsre34&ci=00511cb6af555437fa8d2c2a25d1c9cf94&ad_id=00171446c234d11348e7f22142f929331f&site_id=$publisher_id$§ion_id=$section_id$&adtitle=%
This entry was posted in Application, Linux, Programming. Bookmark the permalink.
Blog at WordPress.com.
https://sarungpandan.wordpress.com/2016/08/04/install-java-8-on-aix/ 2/3
9/9/22, 3:23 PM Install Java 8 on AIX | Mengejar Impian
https://sarungpandan.wordpress.com/2016/08/04/install-java-8-on-aix/ 3/3