Hi Stephan,

I already read many times this example, however it appeared more clearer this
time: I used the regcomp of the SDK: I used the one of the ure and it is still
better: I only have a problem of classpath to solve now. regcomp tells me that
css.lang.XMain is not found, however the ridl.jar file is added to the
classpath.

Thank you for your help
Cedric


Selon Stephan Bergmann <[EMAIL PROTECTED]>:

> [EMAIL PROTECTED] wrote:
> > Hi everybody,
> >
> > I'm trying to create a hello world application based on the URE. However, I
> get
> > an error when using regcomp:
> > error (CannotRegisterImplementationException):
> > ImplementationRegistration::registerImplementation() - The service
> > com.sun.star.loader.Java2 cannot be instantiated
> >
> > Do you know what may be wrong ? My component is available on my website:
> > http://cedric.bosdonnat.free.fr/media/UNOTest.tar.gz
> >
> > Thank you for your help,
> > Cedric
>
> In the CVS, see ure/source/uretest/Makefile.pln for an example of
> regcomp'ing a JAR:
>
>    $(URE_HOME)/bin/regcomp -register \
>      -br $(URE_HOME)/share/misc/types.rdb \
>      -br $(URE_HOME)/share/misc/services.rdb -r $@ \
>      -c file://$(PWD)/out.pln/javatest.uno.jar
>
> Hope that helps,
> -Stephan
>
> ---------------------------------------------------------------------
> 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