• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 114
Hibernate Eclipse IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
30 seconds to difuse a loaf of bread ... here, use this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic