http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/First_Contact
Eclipseから実行すると。コンソールにエラーが...
com.sun.star.comp.helper.BootstrapException: no office executable found!
at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:253)
ネットで調べると、OpenOfficeの実行ファイルにclasspathを通さなければいけないそうだ。
http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/FirstSteps/Configuration
Add a classpath variable. On the previous dialog window, select Java > Build Path > Classpath Variables. Press New to create a new Variable Entry. A name of the variable might be OO_PROGRAM. A path for a standard installation of 3.2.1 on unix is /opt/openoffice.org/program.
0 件のコメント:
コメントを投稿