LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 792|回复: 0

在fedora2中安装oracle817,不成功,怎么办?问题详见正文。

[复制链接]
发表于 2004-8-29 01:57:36 | 显示全部楼层 |阅读模式
安装了ibm-java118
出现如下错误:
[oracle@LSheng Disk1]$ ./runInstaller
Initializing Java Virtual Machine from ../stage/Components/oracle.swd.jre/1.1.8/1/DataFiles/Expanded/linux/bin/jre. Please wait...
[oracle@LSheng Disk1]$ Exception java.lang.NullPointerException occurred..
java.lang.NullPointerException
        at sun.awt.motif.MComponentPeer.setFont(MComponentPeer.java:192)
        at sun.awt.motif.MComponentPeer.initialize(MComponentPeer.java:71)
        at sun.awt.motif.MComponentPeer.init(MComponentPeer.java:99)
        at sun.awt.motif.MFramePeer.<init>(MFramePeer.java:54)
        at sun.awt.motif.MToolkit.createFrame(MToolkit.java:137)
        at java.awt.Frame.addNotify(Frame.java:196)
        at java.awt.Window.pack(Window.java:119)
        at oracle.sysman.oii.oiif.oiifm.OiifmMainFrame.addWizardDialog(OiifmMainFrame.java:365)
        at oracle.sysman.oii.oiif.oiifw.OiifwWizDialog.<init>(OiifwWizDialog.java:395)
        at oracle.sysman.oii.oiif.oiifm.OiifmMainFrame.<init>(OiifmMainFrame.java:330)
        at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:209)
        at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:448)
我的配置文件如下:
# .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

# +------------------------------------------------------------+
# | FILE : .bash_profile |
# +------------------------------------------------------------+

umask 022
EDITOR=vi; export EDITOR
TERM=xterm; export TERM
TMPDIR=/tmp; export TMPDIR

# +--------------------------+
# | SETUP ORACLE ENVIRONMENT |
# +--------------------------+

export ORACLE_SID=orcl
export ORACLE_BASE=/home/oracle
export ORACLE_HOME=$ORACLE_BASE/product/8.1.7

export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib:/usr/local/lib
export TNS_ADMIN=$ORACLE_HOME/network/admin

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

export ORACLE_OWNER=oracle
export ORACLE_TERM=xterm

#export LDEMULATION=elf_i386_glibc21
export GCC_EXEC_PREFIX=/usr/i386-glibc21-linux/lib/gcc-lib/
# +--------------------------+
# | LINUX STUFF |
# +--------------------------+

export LD_ASSUME_KERNEL=2.2.5
#source /usr/i386-glibc2.1-linux/bin/i386-glibc21-linux-env.sh

# +--------------------------+
# | SETUP SEARCH PATH |
# +--------------------------+

PATH=/usr/jdk118/binPATHORACLE_HOME/bin:/opt/bin:/bin:/usr/bin:/usr/local/bin:/usr/sbin:/usr/X11R6/bin:/usr/jdk118/bin:.
export PATH
# +--------------------------+
# | SETUP JAVA ENVIRONMENT |
# +--------------------------+

export JAVA_HOME=/usr/jdk118

export CLASSPATH=/usr/jdk118/lib/linux/native_threads:/usr/jdk118/lib:/oracle/product/8.1.7/jdbc/lib/classes12.zip:/oracle/product/8.1.7/JRE:/oracle/product/8.1.7/jlib:/oracle/product/8.1.7/rdbms/jlib:/oracle/product/8.1.7/network/jlib:.

# +-------------+
# | "GREETINGS" |
# +-------------+
echo ".bash_profile executed"
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表