Borrar filtros
Borrar filtros

Javabuilder: Error while initializing the component

6 visualizaciones (últimos 30 días)
Stefanie Aebi
Stefanie Aebi el 22 de Mayo de 2019
Hi!
I have packaged my MATLAB code to a jar-file using 'Java Package'.
When I now try to run the jar on the server, I get the following error:
Caused by: com.mathworks.toolbox.javabuilder.MWException: An error occurred while initializing the component.
Cannot CD to C:\....\...\...\tomlab\mad (Name is nonexistent or not a directory).
at com.mathworks.toolbox.javabuilder.internal.MWMCR.mclInitializeComponentInstance(Native Method)
at com.mathworks.toolbox.javabuilder.internal.MWMCR.access$700(MWMCR.java:31)
at com.mathworks.toolbox.javabuilder.internal.MWMCR$6.mclInitializeComponentInstance(MWMCR.java:887)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
... 41 more
The folder "tomlab\mad" is indeed not on the server, but it is also not accessed from my code, so I wonder why it wants to cd there.
Could you give me any hint on how to resolve the problem?
Thanks in advance!
Best regards,
Stefanie

Respuestas (0)

Categorías

Más información sobre Java Package Integration en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by