Hi there,

while evaluating Ubuntu (6.10, very impressive laptop installation,
better than Windows XP for the first time!) I have been experimenting
with OOo on that platform, which seems to be an Ubuntu installation of
OOo, version 2.0.4 ("openoffice.org 2.0.4-0ubuntu4, Wed Dec 20 22:25:13
UTC 2006").

The OOo binaries and DLLs are installed in
"/usr/lib/openoffice/program", whereas the OOo Java classes are
installed in "/usr/share/java/openoffice". Setting the PATH (and
LD_LIBRARY_PATH) to point to "/usr/lib/openoffice/program" and CLASSPATH to

    OOO_jars=/usr/share/java/openoffice
    export
    
CLASSPATH=$CLASSPATH:$OOO_jars/jurt.jar:$OOO_jars/unoil.jar:$OOO_jars/ridl.jar:$OOO_jars/juh.jar:$OOO_jars/sandbox.jar

would allow a Java program to start to run, but getting immediately to a
problem in the Bootstrap class which is not able to find the OOo binary:

    com.sun.star.comp.helper.BootstrapException: no office executable found!
        at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java)
        at CreateTextDocument.main(CreateTextDocument.java:23)

The installed Java is "Sun Microsystems Inc. 1.5.0_08". [Can take full
advantage of Java from non-OOo programs, so this installation seems to
be o.k.]
"/usr/bin" is on the PATH as well and there is an "/usr/bin/openoffice"
(which links to "/usr/bin/ooo-wrapper").

---

Also, the package manager via OOo (Tools -> Package Manager) does not run.

---

Maybe someone could hint what the problem might be?

Also, is there an official OOo distribution for Debian/Ubuntu (expecting
not to run into such problems with it)? Or is there another possibility
to install the official OOo distribution on Ubuntu/Debian?

TIA,

---rony
P.S.: In case it matters, the exports in effect:

    declare -x
    
CLASSPATH="/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx/bsf-rexx-engine.jar:/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx/bsf-v242-20070128.jar:.:::/usr/share/java/openoffice/jurt.jar:/usr/share/java/openoffice/unoil.jar:/usr/share/java/openoffice/ridl.jar:/usr/share/java/openoffice/juh.jar:/usr/share/java/openoffice/sandbox.jar"
    declare -x COLORTERM="gnome-terminal"
    declare -x
    
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-yKyiMSoR85,guid=d601c5450f319a46d8ab3fa8989d0900"
    declare -x DESKTOP_SESSION="default"
    declare -x DESKTOP_STARTUP_ID=""
    declare -x DISPLAY=":0.0"
    declare -x GDMSESSION="default"
    declare -x GDM_XSERVER_LOCATION="local"
    declare -x GNOME_DESKTOP_SESSION_ID="Default"
    declare -x GNOME_KEYRING_SOCKET="/tmp/keyring-DeCPdn/socket"
    declare -x GTK_RC_FILES="/etc/gtk/gtkrc:/home/rony/.gtkrc-1.2-gnome2"
    declare -x HISTCONTROL="ignoredups"
    declare -x HOME="/home/rony"
    declare -x LANG="de_AT.UTF-8"
    declare -x
    
LD_LIBRARY_PATH="/usr/lib/openoffice/program:/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx:"
    declare -x LESSCLOSE="/usr/bin/lesspipe %s %s"
    declare -x LESSOPEN="| /usr/bin/lesspipe %s"
    declare -x LOGNAME="rony"
    declare -x
    
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.flac=01;35:*.mp3=01;35:*.mpc=01;35:*.ogg=01;35:*.wav=01;35:"
    declare -x
    OLDPWD="/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx/samples/OOo"
    declare -x
    
PATH="/usr/lib/openoffice/program:/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
    declare -x
    PWD="/mnt/hgfs/root_e/rony/dev/bsf/src/bsf4rexx/samples/OOo/javaExample"
    declare -x SESSION_MANAGER="local/rony-ubuntu:/tmp/.ICE-unix/4464"
    declare -x SHELL="/bin/bash"
    declare -x SHLVL="1"
    declare -x SSH_AGENT_PID="4504"
    declare -x SSH_AUTH_SOCK="/tmp/ssh-ZVfZUM4464/agent.4464"
    declare -x TERM="xterm"
    declare -x USER="rony"
    declare -x USERNAME="rony"
    declare -x WINDOWID="39845982"
    declare -x XAUTHORITY="/home/rony/.Xauthority"

P.P.S.: Could not find anything via Google and the Ubuntu/Wiki.




Reply via email to