Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
  • Piet Souris
  • Himai Minh

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.
A lot of people cry when they cut onions. The trick is not to form an emotional bond. This tiny ad told me:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
    Bookmark Topic Watch Topic
  • New Topic