SUSE Linux9安裝db2問題

valleygrain發表於2007-11-02

想用圖形介面安裝db2,結過執行./db2setup報錯:

./db2setup
DBI1190I db2setup is preparing the DB2 Setup Wizard which will
guide you through the program setup process. Please
wait.


/db2/ese/db2/linux/install/db2jinst: line 131: 3474 Segmentation fault $JAVA_PATH/$JAVA_INTERPRETER $JAVA_OPTIONS -cp $JAVA_CLASSPATH $DB2SetupRun "$@" 2>/tmp/db2setup.err.running

從IBM網站http://www-106.ibm.com/developerworks/java/jdk/linux140/下載Java 142後,在/opt下解壓。將db2安裝程式(複製到硬碟)下的../db2/linux/java更改名稱,mv java java.orig,然後做連結,ln -s /opt/IBMJava2-142 ../db2/linux/java,然後再執行./db2setup就OK了。

安裝後,建議執行db2 "update dbm cfg using JDK_PATH '/opt/Java2-142'"

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9893498/viewspace-980474/,如需轉載,請註明出處,否則將追究法律責任。

相關文章