cancel
Showing results for 
Search instead for 
Did you mean: 

Instalation of JAVA on AIX for SAP

Former Member
0 Kudos

Dear All,

We have to install SAP on AIX operating system with oracle database.

Trying to find the java download path "j2sdk 1_4_2_12 which supports sap on AIX OS"  but can't,

Please let me know the path, where i can download the "j2sdk software which supports SAP on AIX operating system".

And also, please let me know the commands to install "java software" on AIX operating systems.

Please suggest on this,

Waiting for your reply....

Best Regards

Vamsi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Please install all needed your software from AIX installation DVD

Regards

Roman

Former Member
0 Kudos

Dear All,

Thanks for all of your support, Now i downloaded the JAVA software.

As i am new to AIX, please tell me the instillation commands and steps for instalation of JAVA on AIX.

For the downloaded software from above links.

Please suggest on this...

Waiting for your reply....

Best Regards

Vamsi

csaba_goetz
Contributor
0 Kudos

Hello Vamsi,

Here are the steps: Implementing Java on AIX: Download, installation, and configuration.

Best regards,

Adam Csaba Goetz

Former Member
0 Kudos

Dear Adam Csaba Goetz,

Thanks for your reply.

After installing in the last step the status is showing failed as per below screen shot.

As per trouble shooting process need to check the below things :

  • Incomplete downloaded files
  • Not setting up environment variables properly
  • Setting the ulimit command in user profiles
  • Permissions
  • Not enough available space in the volume group
  • Moving or renaming JDK or SDK files after installation

a) Download done perfectly.

b Please let me know, how to set the environmental variables and where to check it.

c) Please tell me, Setting of ulimit command in user profiles

d) Permissions i have given as 777.

e)space avaliable.

Dear, please let me know, how to run the successful instalation without failed status.

Waiting for your reply...

Thanks in advance....

Best Ragrds

vamsi

former_member189725
Active Contributor
0 Kudos

You set the following environment variables

export JAVA_HOME=/usr/java14_64

export PATH=$PATH:/usr/java14_64/bin

For ulimit settings on AIX  check the SAP note

Note 323816 - User limits on AIX

Can you please let us know the exact error you are receiving and how you are installing ?

Are you installing using "smitty installp".

Try this .

Regards

Ratnajit

Former Member
0 Kudos

Dear Ratnajit

Thanks for your reply...

Installing through "smitty installp".only.

But geeting failed status.

Checking up environment variables...and let you know...

Can you please tell me the path to set environment variables.

Best Reagrds

Vasmsi


former_member189725
Active Contributor
0 Kudos

Can you tell the exact error that you get .

You have to execute the commands I provided for setting the environment variables PATH and JAVA_HOME logging in as user root.

Regards

Ratnajit

Former Member
0 Kudos

Dear Ranjit / Adam Csaba Goetz

When i am extracting the downloaded java software as below its showing media error :

# gunzip -c < Java14_64.sdk.tar.gz | tar -xvpf -

x Java14_64.license, 371712 bytes, 726 media blocks.

x Java14_64.msg.Ja_JP, 3072 bytes, 6 media blocks.

x Java14_64.msg.Zh_CN, 3072 bytes, 6 media blocks.

x Java14_64.msg.Zh_TW, 3072 bytes, 6 media blocks.

x Java14_64.msg.ja_JP, 3072 bytes, 6 media blocks.

x Java14_64.msg.ko_KR, 3072 bytes, 6 media blocks.

x Java14_64.msg.zh_CN, 3072 bytes, 6 media blocks.

x Java14_64.msg.zh_TW, 3072 bytes, 6 media blocks.

x Java14_64.samples, 4888576 bytes, 9548 media blocks.

x Java14_64.sdk, 67273728 bytes, 131394 media blocks.

x Java14_64.source, 12620800 bytes, 24650 media blocks.

gunzip: stdin: unexpected end of file

tar: 0511-169 A directory checksum error on media; 0 not equal to 62766.

#

           (OR)

# tar -xvpf Java14_64.sdk.tar.gz

tar: 0511-169 A directory checksum error on media; 0 not equal to 72272.

#

May be this is the problem as instalation is getting failed....

Please suggest, how to come out of these???

Waiting for reply...

Thanks in advance...

Best Reagrds

Vamsi

former_member189725
Active Contributor
0 Kudos

Exactly , it is because of the software not being complete.

Please download the software again from the IBM website and then try to install it.

Can you let me know which product and version are you going to install?

Regards

Ratnajit

Former Member
0 Kudos

Dear Ranjit,

I am using :

pap64142ifx-20120328 (SDK 1.4.2 SR13-FP12)

Java14_64.sdk.tar.gz  (69 MB)

Downloading again and i will install it and let you know.

Best Regards

Vamsi.

Former Member
0 Kudos

Dear Ranjit,,

During insulation through "smitty installp"

It showing the below types need to be installed :

Java14_64.license 

Java14_64.sdk

Java14_64.source

Java14_64.samples 

I installed "Java14_64.license  " and get successes, do i have install remaining parts also.

Please suggest...

Waiting for your reply...

Thanks in advance...

Best Regards

Vamsi


former_member189725
Active Contributor
0 Kudos

You can go ahead with this license only as the purpose of other license types are not required in your case . You will only use the JRE in you system for running sapinst.

So now set the following environment variable.

export TMP=<temp_dir>

export JAVA_HOME=/usr/java14_64

export PATH=$PATH://usr/java14_64/bin

set the ulimits properly.

Then start the installation.

Regards

Ratnajit

Former Member
0 Kudos

Dear Ranjit,

I have set the environment variable in /etc/profile path.

if i check "java -version" it shows the old version, which is installed previously - "i.e java version "1.5.0"

The installed current version is not showing, do i have to do any other settings for this.

Thanks in advance.

Best regards

Vamsi

former_member189725
Active Contributor
0 Kudos

Just login as root

Set the environment variables temporarily for this current shell only  by executing the following

export JAVA_HOME=/usr/java14_64

export PATH=/usr/java14_64/bin:$PATH

Then execute java -version

Regards

Ratnajit

Former Member
0 Kudos

Thank You Ranjit,

For your support.

Not it showing "memory low, limits not set to unlimited"

Now i have to fight on that.

Best regards

Vamsi

former_member189725
Active Contributor
0 Kudos

Check this note

Note 323816 - User limits on AIX

execute ulimit -a

Then set them to unlimited

FOr those are unlimited

execute

ulimit -<option like d,s,m etc> unlimited

Regards

Ratnajit

csaba_goetz
Contributor
0 Kudos

Hello Vamsi,

The way to set environment variables and user limits depends on the user's shell which could be, sh, ksh, csh, etc... The commands are different in various shells. The shell configured for the user logged in is to be found by 'echo $SHELL' command. More information is available in Set Environment Variables.

User limits are defined in /etc/security/limits file. Either you modify this file (by root user) or you can use either the ulimit (in csh/sh/bash) or limit (in ksh/tcsh) commad. For details see How do I change my default limits for stack size, core file size, etc.? and  ulimit Command.

Best regards,

Adam

Former Member
0 Kudos

Dear Ratnajit,

Thanks for your support,

Can you please tell me, how and where to set the permanent environment variables.

Best Reagrds

Vamsi

former_member189725
Active Contributor
0 Kudos

Edit the file /etc/environment

PATH=<already existing value>:/usr/java14_64/bin

JAVA_HOME=/usr/java14_64

The reboot the OS.

This would set the above environment variables system wide.

Once you login again as root

set the environment variable TMP

export TMP=<any temporary installation directory>

Then set the ulimit

and start the installation.

Regards

Ratnajit


Answers (2)

Answers (2)

csaba_goetz
Contributor
0 Kudos

Hello Vamsi,

Please  refer to SAP note 1008311 for the download location. You can find more information about installation steps in Implementing Java on AIX: Download, installation, and configuration.

Best regards,

Adam Csaba Goetz

Former Member
0 Kudos

Dear Ratnajit / Adam Csaba Goetz

We need to install SAP CRM 7.0 / NW 7.01

Following the Note : 1090932 from long back but cant able to download the software.

Its asking for user-id and password, registered in IBM site and trying to login, but its not allowing to download.

while i logged in its showing as like in below screen shot cant proceed fiurther.

Please suggest how to download the j2sdk 1_4_2_12

Currently on my server existing java version is : java 1.5.0

Best Regards

Vamsi

former_member189725
Active Contributor
0 Kudos

I am not able to see any screenshot .

Can you please attach again.

Regards

Ratnajit

Former Member
0 Kudos

Dear Ratnajit

Screen shot is showing as below, after giving all the required information also its showing the same, if i click on continue again its asking all the input, user-id and password is valid, but still not allowing to move further.

Best Regards

Vamsi

csaba_goetz
Contributor
0 Kudos

Hello Vamsi,

Click on Continue, provide the missing data and continue with download process. Or alternatively try to download the j2sdk from here.

Best regards,

Adam Csaba Goetz

Former Member
0 Kudos

Dear Adam Csaba Goetz,

Tried clicking on continue and filling up the information, after logging again its happening the same..

Downloading from the link given by you.

Update you once it is done.

Best Reagrds

Vamsi

former_member189725
Active Contributor
0 Kudos

You have issues with registration to the IBM website .

Please make sure you register properly and login with the ID you have created.

Regards

Ratnajit

Former Member
0 Kudos

Dear  Adam Csaba Goetz / Ratnajit

I want to know one more thing, i tried using below file for installing j2sdk on AIX, will it work

j2sdk-1_4_2_12-linux-i586-rpm.bin

when i run the command on AIX machine  :#sh j2sdk-1_4_2_12-linux-i586-rpm.bin

it showing excute permissions denied as per below screen shot. i am using "ROOT user".

will root user have any permission restrictions, or any can you please suggest on this.

Best Reagrds

vamsi

former_member189725
Active Contributor
0 Kudos

Please use this pap64142ifx-20120328 (SDK 1.4.2 SR13-FP12)

This you can download from the website

https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&source=swg-ibmjavaisv

Create a new account for the website

Use the access key AQ2QQK45DQ

The above one is for linux . You cannot install on AIX .

Use Download using http.

Regards

Ratnajit

csaba_goetz
Contributor
0 Kudos

Hello Vamsi,

You can download the correct IBM JVM for AIXPPC64 from here.

Best regards,

Adam

former_member189725
Active Contributor
0 Kudos

What is the Netweaver version of the SAP system you are planning to install?

Check the following SAP notes

Note 1090932 - IBM download site for special JDK builds  - iFix

Note 716927 - Overview of AIX JVM for NetWeaver 2004 and 7.0 (2004s)

Also for ABAP only system , you do not require Vendor JDK or SAP JVM to run an SAP system.

For ABAP+JAVA systems or JAVA only system , vendor JDKs have been replaced by SAP JVM which is used as the JRE for JAVA applications. From NW 7.1 onwards, the SAP systems come with SAPJVM installed during installation . For prior release , you can switch from vendor JDK (1.4.2) to SAP JVM 4.1 after the installation.

Also when you install , the SAPINST program does a self extraction of the JRE required for running the installation using sapinst.

So the bottom line is install the IBM JDK if you are installing an ABAP+JAVA or JAVA only SAP system prior to NW 7.1 release . If you are installing any version as of NW 7.1 , you are good to go .

Regards

Ratnajit