Hello Tom,
Quoting Tom Schindl <[EMAIL PROTECTED]>:


Ok this is completely a different message from the one you showed in
your last mail.


yes, sorry but i testing in the last night. The result is, thus the current version.

[Loaded sun.awt.NullComponentPeer from D:\dev-java\jre1.5\lib\rt.jar]
Exception in thread "main" java.lang.NoClassDefFoundError:
com/sun/star/lang/WrappedTargetException
        at
de.zuehlke_it.sgv.view.ooo.BeanFacade.createBean(BeanFacade.java:76)
        at
de.zuehlke_it.sgv.view.ooo.ControllerOOo.initViewOOo(ControllerOOo.java:36)
        at de.zuehlke_it.sgv.SGV.main(SGV.java:180)

On this point my story was stoppd, i can understand what eclipse make to
connect OpenOffic and what i MUST make to integrated (clean) the
OpenOffice Bean.

Reagards...


I cannot see where you tell SWT to search for its native *.dlls please
note that when you are running your application inside eclipse Run
As>SWT-Application Eclipse does the magic for you. If you run it your
own you need to do the magic your own by telling java where to look for
the swt.*.dll's needed.

2 possibilities:
- put swt-dll's in same directory than you Stater.jar
- assign -Djava.library.path=%your-swt-dll-path% when starting the
application

I think it have nothing with the use from swt to to do, take I the initialization out of OOeBean, run the application. my SWT .dll is appropriate for that in of c:\windows the listing and is accordingly also found.

Erik



Tom




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








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

Reply via email to