mcc java compiler - MCRFactory.class missing dependencies

Hi -
I am trying to compile an updated .m script into a jar file to run in our BPEL environment using the following command:
mcc -v -nocache -W java:$package,$class $source.m
[instructions on how to do this was left by a previous employee. Seems to be missing a path/command or config file edit ??]
The jar file that mcc generates is much smaller today than previously and fails in our environment.
MatlabService.info.full: Executing constructor public ovloaderklanl.OVLOADERKLANL() throws com.mathworks.toolbox.javabuilder.MWException
We even recompiled the old code to compare.
When I look inside the compiled jar, I find the MCRFactory.class is the difference. The class seems to be missing links to all of the toolbox components. (example: $TOOLBOXMATLABDIR/general/)
mccexlcudedfiles.log is empty (minus the header of course)
Do we need to include the more components in the $class statement?
Or is it possible that the license which we have does not allow us to bundle the components into the MCRFactory.class?
Thanks!
-Rick

Answers (0)

Categories

Products

Release

R2010b

Asked:

on 29 Aug 2023

Community Treasure Hunt

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

Start Hunting!