Hello,
i have a existing Netbeansproject with MySQL Connections and JFreeReports. Now, i want to control OOo Writer. I installed the OOo Plugin for Netbeans and first i wrote a testprogram with a New "OOo2.3 Client App". This works fine, and indepent. I can copy the dist-Dir wherever i want and the Project runs fine. When i copy the Code to my "big Project" and include the OOo2.3 lib, i can also run all functions when i run the project from Netbeans. When i Build it and run it over "Start -> Run -> java -jar "C:\Dokumente und Einstellungen\mcfloppy\Eigene Dateien\NetBeansProjects\boo\dist\boo.jar" " so it doesnt work. I can use all functions from my old program, but the OOo Call cancel with:

27.02.2008 12:15:26 boo.BooView jButton3ActionPerformed
SCHWERWIEGEND: null
com.sun.star.comp.helper.BootstrapException: no office executable found!
        at com.sun.star.comp.helper.Bootstrap.bootstrap(Bootstrap.java:253)
        at boo.BooView.jButton3ActionPerformed(BooView.java:1375)
        at boo.BooView.access$2100(BooView.java:61)
        at boo.BooView$17.actionPerformed(BooView.java:593)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)






So i hope you can help me.

Greets Raphael Specht

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to