TDPO for linux rh4.8安装出现错误

TDPO for linux rh4.8安装出现错误

现象:

在X窗口下安装后,出现:

Initializing Wizard.......

Launching InstallShield Wizard.......

 原因:

安装了IBMjava142,但路径没给,结果:

root@[ora10gb][/tmp/tsm]#java -version

java version "1.4.2"

gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)

Copyright (C) 2006 Free Software Foundation, Inc.

This is free software; see the source for copying conditions.  There is NO

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE

 

IBM官方:

    These hangs can be avoided by referencing a different JRE during installation:

 

    1) From the IBM website, locate the appropriate Java release. Website: http://www-128.ibm.com/developerwork.../download.html

    2) Install the downloaded package on the system.

    3) Set the JAVA_HOME environment variable to the IBM JRE directory (e.g. /opt/ibm-jdk)

    4) Rename the default java executable ('which java', typically located in /usr/bin) to java.old

    5) Call the TDP for Oracle install binary with the -console option

    6) After the installation has completed, the original configuration can be restored by renaming java.old to java.

Reply With Quote Reply With Quote

解决:

root/etc/profile下加入:

export JAVA_HOME=/opt/IBMJava2-142

export JRE_HOME=/opt/IBMJava2-142/jre

export PATH=$PATH:/opt/IBMJava2-142/jre/bin

su – 切换

再安装就ok了。

 

IBM java下载网址:

http://www.ibm.com/developerworks/java/jdk/linux/download.html

 

你可能感兴趣的:(java,linux,linux,职场,休闲,AS4.8,tdpo)