Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Open office Integration in JavaSwing application gives an exception when a jar is created.  RSS feed

Deepaks Deshpande
Ranch Hand
Posts: 114
Eclipse IDE Hibernate Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear All,

I have a desktop application that uses openoffice integration & executes prefectly in the IDE(netbeans). For this application, I have added the installation path of open office i.e. /opt/openoffice.org3/program.
When i try to run that application by creating jar, using command - java -jar App.jar , it shows OOoBean error as follows:

What I want is that when I run the application through the jar independently in some other machine (ubuntu 10.04), it should invoke an instance of openoffice and be able to display a document in Jframe. I have intergrated OOobean in Jframe.

I'm using netbeans 6.9.1, openoffice 3.3(The other machine also has the same version of open office installed) and Ubuntu 10.04 system.

I have tried to find a solution for this but couldn't get anything proper. Please help me out.

Thank you.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!