redhat7.2下oracle8.17安装问题

redhat7.2下oracle8.17安装问题

前期工作都作了,补丁还有jdk都装了
运行 runInstaller 提示libjava.so文件找不到
我把jdk118_v3目录下的libjava.so考到相应的目录下后再运行,又提示 "ELF file data encoding not little-endian" 的错误,

不知道各大哥有没有遇到类似问题,还是我的安装文件不全?       
有可能你的环境没设好。设置内核了吗?      
# .bash_profile
#
# Get the aliases and functions

if [ -f ~/.bashrc ]; then
        . ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATHHOME/bin

export PATH
#unset USERNAME

JAVA_HOME=/usr/local/java;export JAVA_HOME
CLASSPATH=/usr/local/java/lib/classes.zip;export CLASSPATH
export PATH=/usr/local/java/binPATH


#####################################################
. /usr/i386-glibc21-linux/bin/i386-glibc21-linux-env.sh

export LD_ASSUME_KERNEL=2.2.5

export LDEMULATION=elf_i386_glibc21

export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/

export ORACLE_BASE=/u01/app/oracle

export ORACLE_HOME=$ORACLE_BASE/product/8.1.7

export PATH=$PATHORACLE_HOME/bin

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib

export ORACLE_SID=Test

export ORACLE_TERM=vt100

export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data

umask 022

#######################################      
ORACLE_BASE=/home/oracle;export ORACLE_BASE
ORACLE_HOME=$ORACLE_BASE/product/9.0.1;export ORACLE_HOME
ORACLE_SID=ora901;export ORACLE_SID
LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib:exprot LD_LIBRARY_PATH
PATH=$ORACLE_HOME/bin:/$PATH/etc:/bin:usr/bin:/usr/local/bin:/sbin:/usr/bin/X11:/usr/sbin:/usr/local/jre/bin:/usr/local/jdk/bin:usr/local/jsdk/bin:.export PATH      
ORACLE安装时,JAVA的默认路径是:/usr/local/java
只要将JAVA链接到此目录就行了:
cd /usr/local
ln -s /usr/bin/java java      
export DISPLAY=your ipaddress:0.0
xhost +