*
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 Android Security Essentials Live Lessons this week in the Android 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: 111

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

 
Don't get me started about those stupid light bulbs.
 
subject: Open office Integration in JavaSwing application gives an exception when a jar is created.
 
Similar Threads
how to handle data gotten from CLOBs?
Populate Array of type Double from text file
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
Persistence.xml file not wokring in JGrasp IDE
null pointer