熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> Javascript >> 正文

StarSuite 6.0和SDK安裝以及配置指南之二

2022-06-13   來源: Javascript 

  本文以redhat/bash為例建議首先卸載自帶的openoffice卸載方法
  
  rpm e nodeps openoffice
  rpm e nodeps openofficelibs
  rpm e nodeps openofficein
  
  安裝 JSDK
  
  將 jsdk__fcslinuxirpm 安裝到 /usr/java 中
  
  #rpm ivh jsdk__fcslinuxirpm
  
  下載jsdk__fcslinuxirpm
  
  安裝 StarOffice
  
  /setup
  
  提示安裝目標目錄時建議選擇/starsuite其中提示選擇Java虛擬機時請點擊選擇然後選擇/usr/java/jsdk目錄確認即可
  
  安裝product patch
  
  /so_ppbinlinuxbin
  
  (解壓pp/linux/tar可得到本文件)安裝過程中會發現提示starsuite
  
  已安裝在/starsuite確定繼續安裝直到完成bin安裝到 /staroffice
  
  安裝 StarOffice SDK
  
  為方便起見將包安裝到 /usr/starsuite然後將目錄改為 sdk
  
  cp OOo_SDK_alpha_LinuxIntel_odktargz
  /usr/starsuite
  cd /usr/starsuite
  tar xvfz OOo_SDK_alpha_Linux
  Intel_odktargz
  mv _alpha_SDK sdk
  
  修改/starsuite/sdk/setsdkenv_unixin 確保有下列四行
  
  set SDK_HOME=/starsuite/sdk
  set OFFICE_HOME=/starsuite
  set SDK_JAVA_HOME=/usr/java/jsdk
  set SDK_AUTO_DEPLOYMENT=YES
  
  修改系統環境變量
  
  (以redhat為例)在/etc/rcd/rclocal最後加入下列語句
  
  export CLASSPATH=
  /starsuite/program/classes/classesjar:/starsuite/program/classes/dbjar:/starsuite/program/classes/java_unojar:/starsuite/program/classes/juhjar:/starsuite/program/classes/jurtjar:/starsuite/program/classes/jutjar:/starsuite/program/classes/ridljar:/starsuite/program/classes/sandboxjar:/starsuite/program/classes/unoiljar:/starsuite/program/classes/xtjar
  export PATH=$PATH:/usr/java/jsdk:
  /starsuite/program
  
  修改 StarOffice 的 classpath
  
  運行/starsuite/program/soffice在工具>選項>StarSuite>安全>ClassPath中填入
  
  /starsuite/program/classes/classesjar:
  /starsuite/program/classes/dbjar:
  /starsuite/program/classes/java_unojar:
  /starsuite/program/classes/juhjar:
  /starsuite/program/classes/jurtjar:
  /starsuite/program/classes/jutjar:
  /starsuite/program/classes/ridljar:
  /starsuite/program/classes/sandboxjar:
  /starsuite/program/classes/unoiljar:
  /starsuite/program/classes/xtjar
  
  安裝和配置完畢!
From:http://tw.wingwit.com/Article/program/Java/Javascript/201311/25403.html
    推薦文章
    Copyright © 2005-2022 電腦知識網 Computer Knowledge   All rights reserved.