06-23-2009 4:21 AM
Hello All,
In root directory and enter usr directory now create java directory in usr directory
>pwd
root/usr
>mkdir java
1. Save here download java bin or rpm file
2. Install the Java SDK
$ su
Password: <root password>
rpm u2013ivh IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64.rpm
it is suceesfully installed but java path not set with below command
3.Set Java Path(Note: Set Java path which location you saved dump(software) installation Master DVD)
JAVA_HOME=/usr/java/IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64;export JAVA_HOME
SAPINST_JRE_HOME=/usr/java/IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64/jre;export SAPINST_JRE_HOME
CPIC_MAX_CONV=500;export CPIC_MAX_CONV
(For Example ECC60SR3DUMP\BS_2005_SR3_SAP_Installation_Master\IM_LINUX_X86_64>JAVA_HOME..above llines
Please help me to set java environment path
Regards
Mohsin M
Mumbai
06-23-2009 6:25 AM
HI Mohsin M,
After RPM installation usually it installed in /opt/IBMJava2-*
So first try to location the installed rpm path.
and add the following lines in your .bash_profile of root user.
logout and login again with root user.
JAVA_HOME=/opt/IBMJava2-amd64-142 export JAVA_HOME
SAPINST_JRE_HOME=/opt/IBMJava2-amd64-142 export SAPINST_JRE_HOME
CPIC_MAX_CONV=500 export CPIC_MAX_CONV
Check the PATH has define properly by running the following command.
env | grep JAVA_HOME
Output will be like this.
JAVA_HOME=/opt/IBMJava2-amd64-142
Regards,
Kamal Kishore
06-23-2009 7:53 AM
Gentlemen,
please be aware of the fact that the only supported IBM JDK for SLES is delivered by Novell. The package available from the IBM page is not supported by Novell !
You find more information on this topic in SAP note
[1172419 - Linux: Supported Java versions on the x86_64 platform|https://service.sap.com/sap/support/notes/1172419]
Thanks,
Hannes
06-23-2009 8:35 AM
Hello Hannes,
I have downloaded IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm
1)/root/usr/java
2)rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm
3) installed sucesfully
4) but only environment path was not set
I have execute this steps for environment set for jave
((( 3.Set Java Path(Note: Set Java path which location you saved dump(software) installation Master DVD)
JAVA_HOME=/usr/java/IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64;export JAVA_HOME
SAPINST_JRE_HOME=/usr/java/IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64/jre;export SAPINST_JRE_HOME
CPIC_MAX_CONV=500;export CPIC_MAX_CONV
(For Example ECC60SR3DUMP\BS_2005_SR3_SAP_Installation_Master\IM_LINUX_X86_64>JAVA_HOME..above llines
))
can u pls guide eigther i have execute right command ...if not
pls give me steps how to set environmnent path for Java
Regards
Mohsin M
Edited by: mohsin m on Jun 23, 2009 9:36 AM
06-23-2009 8:49 AM
Dear Mohsin M,
the IBM JDK you are using is not supported by Novell! However, if you have a JDK support contract with IBM, you might be able to get support for it in case of SAP J2EE issues which can be traced back to the IBM JDK.
Anyway, I strongly recommend to use 'java-1_4_2-ibm-1.4.2_sr13-0.4' which is delivered through YaST Online Update Channel.
In case you really want to proceed, I see the following:
2)rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm
and then
JAVA_HOME=/usr/java/IBMJava2-AMD64-142-SDK-1.4.2-12.0.x86_64;export JAVA_HOME
Does the ...SDK-1.4.2-12... directory exist after installing version ...SDK-1.4.2-13... ???
Thanks,
Hannes
06-23-2009 9:08 AM
Sorry haans,
its Typo mistake it is
SDK-1.4.2-13... and not SDK-1.4.2-12...
I have installed rpm -ivh IBMJava2-AMD64-142-SDK-1.4.2-13.0.x86_64.rpm
if this is wrong ,
Pls let me know form where i can download 'java-1_4_2-ibm-1.4.2_sr13-0.4'
Pls send me link
Regards
Mohsin M
06-23-2009 9:13 AM
you can download the Novell Java either from download.novell.com or via rug/zypper or yast
06-23-2009 9:31 AM
As Hannes has already mentioned install the IBM Java SDK via YaST. Do a search for java and then select the java-1_4_2-ibm-devel(SDK) package and java-1_4_2-ibm package(JRE).
Once installed then create a file /etc/profile.local and add your JAVA_HOME variable export to this file. The only other thing to do then is apply OS specific requirements: Note 958253 - SUSE LINUX Enterprise Server 10: Installation notes.
Regards,
Nelis
08-07-2009 12:25 AM