afaik supported does not mean it doesn't run. it means justs there is no support from IBM.
for now, the problem is not Java is that a c++ libraries are mysteriously missing. I think libc++.rte supports 7.1 and all the libraries should be installed.
I will try to open a support case. hopefully i get some insights,
Original Message:
Sent: Mon January 22, 2024 09:46 AM
From: Will SMITH
Subject: java 17on aix 7.1
For AIX 7.1 it seems that you would be limited to Java 8:
https://www.ibm.com/docs/en/sdk-java-technology/8?topic=installing-supported-environments
------------------------------
Will SMITH
Original Message:
Sent: Mon January 22, 2024 09:37 AM
From: Will SMITH
Subject: java 17on aix 7.1
Hi Mario, another thought - the Supported Platforms page says that only AIX 7.2 and 7.3 are currently supported for Semeru Java 17:
https://www.ibm.com/support/pages/semeru-runtimes-support#supportedplatforms
------------------------------
Will SMITH
Original Message:
Sent: Mon January 22, 2024 09:08 AM
From: Will SMITH
Subject: java 17on aix 7.1
hi Mario, I'm not an AIX install expert and I don't understand why your `lslpp -f libc++.rte` output shows the older version 16.1.0.0. Also it does not show that this fileset installed /usr/lpp/xlC/lib/libc++.a for your system. At this point I would suggest opening a support case with AIX support to verify the c++ library install on the system.
------------------------------
Will SMITH
Original Message:
Sent: Mon January 22, 2024 08:53 AM
From: Mario Garcia
Subject: java 17on aix 7.1
hello Will,
this is the output of the command:
:lslpp -f libc++.rte
Fileset File
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
libc++.rte 16.1.0.0 /usr/lpp/xlC
/usr/lib/libc++.a -> /usr/lpp/xlC/lib/libc++.a
/usr/lpp/xlC/lib
/usr/lpp/xlC/lib/aix61/libatomic.a
/usr/lpp/xlC/lib/aix61
/usr/lib/libatomic.a -> /usr/lpp/xlC/lib/libatomic.a
/usr/lpp/xlC/lib/aix61/libc++.a
should i install the packages found here: Redistributable libraries - IBM Documentation
namely xlC.aix61.rte
I don't know if its installed.
------------------------------
Mario Garcia
Original Message:
Sent: Mon January 22, 2024 08:47 AM
From: Will SMITH
Subject: java 17on aix 7.1
hi Mario, on my local system, libc++.rte installed /usr/lpp/xlC/lib/libc++.a :
$ lslpp -f libc++.rte
Fileset File
----------------------------------------------------------------------------
Path: /usr/lib/objrepos
libc++.rte 17.1.1.0 /usr/lpp/xlC/lib/libc++.a
/usr/lpp/xlC/lib/libatomic.a
/usr/lpp/xlC
/usr/lib/libatomic.a -> /usr/lpp/xlC/lib/libatomic.a
/usr/lib/libc++.a -> /usr/lpp/xlC/lib/libc++.a
/usr/lpp/xlC/lib
What does the `lslpp -f libc++.rte` command show for your system?
------------------------------
Will SMITH
Original Message:
Sent: Mon January 22, 2024 08:11 AM
From: Mario Garcia
Subject: java 17on aix 7.1
indeed the file /usr/lpp/xlC/lib/libc++.a does not exist!
what do i need to install it? why isn't it installed by the libc++.rte package?
thank you
------------------------------
Mario Garcia
Original Message:
Sent: Mon January 22, 2024 06:17 AM
From: Will SMITH
Subject: java 17on aix 7.1
You showed that /usr/lib/libc++.a is a soft link. Is the target file /usr/lpp/xlC/lib/libc++.a present and accessible on the system?
------------------------------
Will SMITH
Original Message:
Sent: Tue January 16, 2024 11:48 AM
From: Mario Garcia
Subject: java 17on aix 7.1
I am trying to run java 17 on aix 7.1 i have installed all the prerequisites. but somehow libjvm.so cannot find the file libc++.a
ldd /app/java17/jdk-17.0.9+9/lib/default/libjvm.so/app/java17/jdk-17.0.9+9/lib/default/libjvm.so needs: /usr/lib/libpthread.a(shr_xpg5_64.o) /usr/lib/libdl.a(shr_64.o)Cannot find libc++.a(shr_64.o) /usr/lib/libC.a(shrcore_64.o) /usr/lib/libc.a(shr_64.o) /unix /usr/lib/libC.a(ansicore_64.o) /usr/lib/libcrypt.a(shr_64.o)
however i have installed libc++.rte to the version bigger than 16.1.0.7:
lslpp -l|grep libc++
libc++.rte 16.1.0.10 COMMITTED IBM XL C++ Runtime for AIX 7.1
and the file libc++.a exists:
ls -ltr /usr/lib/libc++.a
lrwxrwxrwx 1 bin bin 25 Jan 16 16:45 /usr/lib/libc++.a -> /usr/lpp/xlC/lib/libc++.a
lslpp -w "*libc++.a*" File Fileset Type ---------------------------------------------------------------------------- /usr/lib/libc++.a libc++.rte Symlink /usr/lpp/xlC/lib/aix61/libc++.a libc++.rte File
Do I need to export a library path? such as libpath or install additional libraries.
if the version of AIX was not supported it would tell me instead of telling me a file is missing? right?
thanks in advance.
------------------------------
Mario Garcia
------------------------------