aspose file tools*
The moose likes Other Java Products and Servers and the fly likes Open office Integration in JavaSwing application gives an exception when a jar is created. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "Open office Integration in JavaSwing application gives an exception when a jar is created." Watch "Open office Integration in JavaSwing application gives an exception when a jar is created." New topic
Author

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

Deepaks Deshpande
Ranch Hand

Joined: Dec 06, 2007
Posts: 113

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.


Regards,
Deepak

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Open office Integration in JavaSwing application gives an exception when a jar is created.