2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

apache経由でLibreOfficeを実行できなかった話

Posted at

apache経由でLibreOffice(libreoffice --convert-to pdf --outdir <dst_dir> <src_file>)を実行しようとしたところ

[Java framework] Error in function createSettingsDocument (elements.cxx).
javaldx failed!
Warning: failed to read path from javaldx

と表示されPDF変換ができませんでした。

対処方法

環境はUbuntu(version 9)を使用している時の対処方法ですが

sudo mkdir /var/www/libreoffice
sudo chown -R www-data:www-data /var/www/libreoffice

とすれば上手くPDF変換できました。

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?