Installation de OpenOffice.org 3.1

Bonjour,
afin d’utiliser, dans un premier temps, OpenOfficeConverter, puis dans un second temps OpenOffice pour faire du publipostage, j’ai installé la dernière version d’open office sur une nouvelle machine en debian 5 toute nue(ou presque).
La version 2 et quelque chose était déjà présente, je l’ai virée pour installer la 3.1

Mais lorsque j’essaie de le lancer, j’ai les messages suivants :

[quote]vm5:~# /usr/lib/openoffice/program/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard
javaldx: Could not find a Java Runtime Environment!
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml[/quote]
ou

[quote]vm5:~# /usr/lib/openoffice/program/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard
javaldx: Could not find a Java Runtime Environment!
Please ensure that the package openoffice.org-java-common is installed.
If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml
vm5:~# [/quote]

Je me demande si tout est bien installé pour Ooo

[quote]vm5:~/test_xof_01# aptitude show openoffice.org
Paquet : openoffice.org
État: installé
Automatiquement installé: non
Version : 1:3.1.0-5~bpo50+2
Priorité : optionnel
Section : editors
Responsable : Debian OpenOffice Team debian-openoffice@lists.debian.org
Taille décompressée : 332k
Dépend: openoffice.org-core (= 1:3.1.0-5~bpo50+2), openoffice.org-writer, openoffice.org-calc, openoffice.org-impress, openoffice.org-draw, openoffice.org-math, openoffice.org-base,
openoffice.org-report-builder-bin, ttf-dejavu, openoffice.org-officebean, openoffice.org-filter-mobiledev, openoffice.org-java-common (> 2.2.0-4)
Recommande: openoffice.org-filter-binfilter, ttf-liberation | msttcorefonts
Suggère: hunspell-dictionary, myspell-dictionary, openoffice.org-help-3.1, openoffice.org-l10n-3.1, menu, unixodbc, cups-bsd, libsane, openoffice.org-hyphenation, openoffice.org2-thesaurus, libxrender1,
libgl1, openoffice.org-gnome | openoffice.org-kde, iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser, default-jre | gcj-jre | java-gcj-compat | openjdk-6-jre |
sun-java5-jre | sun-java6-jre | java5-runtime | jre, openclipart-openoffice.org, pstoedit, graphicsmagick-imagemagick-compat | imagemagick, libpaper-utils, gstreamer0.10-plugins-base,
gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gstreamer0.10-ffmpeg
Est en conflit: openoffice.org-java-common (< 1:3.0.0), openoffice.org2 (< 1:3.1.0-5~bpo50+2)
Remplace: openoffice.org-debian-files, openoffice.org2 (< 1:3.1.0-5~bpo50+2)
Fournit: openoffice.org2

Description : full-featured office productivity suite
OpenOffice.org is a full-featured office productivity suite that provides a near drop-in replacement for Microsoft® Office.

This metapackage installs all components of openoffice.org:

  • openoffice.org-writer: Word processor
  • openoffice.org-calc: Spreadsheet
  • openoffice.org-impress: Presentation
  • openoffice.org-draw: Drawing
  • openoffice.org-base: Database
  • openoffice.org-math: Equation editor
  • openoffice.org-filter-mobiledev: Mobile Devices filters
  • openoffice.org-filter-binfilter: legacy filters (e.g. StarOffice 5.2)

You can extend the functionality of OpenOffice.org by installing these packages:

  • hunspell-dictionary-/myspell-dictionary-: Hunspell/Myspell dictionaries for use with OpenOffice.org
  • openoffice.org-l10n-*: UI interface translation
  • openoffice.org-help-*: User help
  • openoffice.org-thesaurus-*: Thesauri for the use with OpenOffice.org
  • openoffice.org-hyphenation-*: Hyphenation patterns for OpenOffice.org
  • openoffice.org-gtk: Gtk UI Plugin, GNOME File Picker support, QuickStarter for GNOMEs notification are
  • openoffice.org-gnome: GNOME VFS, GConf backend
  • openoffice.org-kde: KDE UI Plugin and KDE File Picker support
  • menu: Will add openoffice.org menu entries for every Debian window manager.
  • unixodbc: ODBC database support
  • cups-bsd: Allows OpenOffice.org to detect your CUPS printer queues
    automatically
  • libsane: Use your sane-supported scanner with OpenOffice.org
  • libxrender1: Speed up display by using Xrender library
  • libgl1: OpenGL support
  • openclipart-openoffice.org: Open Clip Art Gallery with OOo index files
  • iceweasel | firefox | icedove | thunderbird | iceape-browser | mozilla-browser: Mozilla profile with Certificates needed for XML Security…
  • java-gcj-compat | sun-java5-jre | java2-runtime Java Runtime Environment for use with OpenOffice.org
  • pstoedit / imagemagick: helper tools for EPS thumbnails
  • gstreamer0.10-plugins-*: GStreamer plugins for use with OOos media backend
  • libpaper-utils: papersize detection support via paperconf
    Site : go-oo.org[/quote]
    Avec pour java

[quote]vm5:~/test_xof_01# java -version
java version "1.5.0"
gij (GNU libgcj) version 4.3.2

Copyright © 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
vm5:~/test_xof_01#
[/quote]
L’exploitation de ooConverter marche bien chez moi, sur ma ubuntu. Mais OOo 3.1 était déjà installé depuis un bail …

D’avance, un grand merci pour toutes vos pistes et idées.

Cordialement,
Christophe Charron

Bjr,
As-tu fait ça ? If it is already installed then try removing ~/.openoffice.org/3/user/config/javasettings_Linux_*.xml

Bonsoir,
et merci pour la prompte réponse.

Oui, j’avais supprimé ce fichier, mais sans succès.
Par contre, je me suis aperçu qu’il y avait déjà un soffice qui tournait.
Je l’ai tué et j’ai pu lancer ma ligne de commande

Il semblerait donc que cela fonctionne … quoique …
Si je fais un test de conversion:

vm5:~/test_xof_01# java -jar jodconverter-core-3.0-beta-3/lib/jodconverter-core-3.0-beta-3.jar article.doc article.pdf Exception in thread "main" java.lang.IllegalStateException: officeHome doesn't exist or is not a directory: /opt/openoffice.org3 at org.artofsolving.jodconverter.office.DefaultOfficeManagerConfiguration.buildOfficeManager(DefaultOfficeManagerConfiguration.java:117) at org.artofsolving.jodconverter.cli.Convert.main(Convert.java:97) vm5:~/test_xof_01#

mais bon, là je deviens hors contexte, car je ne pense pas que ce soit du ressort de debian. Du ressort d’OOo ou de jodconverter ??
Pourtant, cela fonctionne bien sur mon Ubuntu :confused:

Merci encore d’avoir pris la peine de me répondre.