在Ubuntu 6.10 系统中安装Lotus Notes 7详细图解(6)

启动脚本
之所以出现如图2所示的空白面板,通常是因为当前用户的环境中缺少 Lotus Notes 相关的环境变量,比如 NOTESBIN, NOTESDATA, NOTESDIR 等。
Lotus Notes for Linux 安装程序将这些环境变量的设定写到了.bash_profile中,但很不幸,该文件只是针对用户使用 BASH 时方有效,所以并非总是被执行。我们可以将其内容复制出来,形成一个自己的启动 Notes 的脚本。以下是我的 startNotes.sh 内容:
清单4:启动脚本 startNotes.sh
# Begin INSTALLSHIELD Environment Variable Section
# var 1 : CLASSPATH="/home/huangys/notes":`echo $CLASSPATH`
if [ -z "`echo $CLASSPATH`" ]
then
CLASSPATH="/home/huangys/notes"
else
CLASSPATH="/home/huangys/notes":`echo $CLASSPATH`
fi
export CLASSPATH
# var 1 : PATH="/home/huangys/notes/jvm/bin":"/home/huangys/notes":`echo $PATH`
if [ -z "`echo $PATH`" ]
then
PATH="/home/huangys/notes/jvm/bin":"/home/huangys/notes"
else
PATH="/home/huangys/notes/jvm/bin":"/home/huangys/notes":`echo $PATH`
fi
export PATH
# var 0 NOTESDATA="/home/huangys/notes/data"
NOTESDATA="/home/huangys/notes/data"
export NOTESDATA
# var 0 NOTESBIN="/home/huangys/notes"
NOTESBIN="/home/huangys/notes"
export NOTESBIN
# var 1 : LD_LIBRARY_PATH="/home/huangys/notes/jvm/bin/classic":\
# "/home/huangys/notes/jvm/bin":"/home/huangys/notes":`echo $LD_LIBRARY_PATH`
if [ -z "`echo $LD_LIBRARY_PATH`" ]
then
LD_LIBRARY_PATH="/home/huangys/notes/jvm/bin/classic":\
"/home/huangys/notes/jvm/bin":"/home/huangys/notes"
else
LD_LIBRARY_PATH="/home/huangys/notes/jvm/bin/classic":\
"/home/huangys/notes/jvm/bin":"/home/huangys/notes":`echo $LD_LIBRARY_PATH`
fi
export LD_LIBRARY_PATH
# End INSTALLSHIELD Environment Variable Section
# start!
/opt/IBM/WorkplaceManagedClient/rcp/richclient \
-personality com.ibm.workplace.noteswc.standalone.linux.personality

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://www.heiqu.com/452d171448df1825393edb46ddf6e9ea.html