Prev: Memory management
Next: Active Apperaance Model
From: lior on 11 Apr 2010 06:13 Hi, I'm trying to compile a jar using the java builder (2009b) like this mcc -W 'java:MyPackage, Myclass' -T 'link:lib' -d 'S:\Example\src\' -v 'class{Myclass:S:\Example\hello_world2009.m}' This is working fine from the Matlab prompt, BUT .. when I try to compile via shell (cmd) command line it gives an error: Error: "'java:MyPackage," is not a valid -W option argument Plus mcc -? show no option on -W 'java..'. it looks like the command line mode does not recognize the java builder? please advice. Lior
From: Lior Cohen on 13 Apr 2010 14:39 "lior " <lior_chn(a)yahoo.com> wrote in message <hps7be$4j6$1(a)fred.mathworks.com>... > Hi, > I'm trying to compile a jar using the java builder (2009b) > like this > mcc -W 'java:MyPackage, Myclass' -T 'link:lib' -d 'S:\Example\src\' -v 'class{Myclass:S:\Example\hello_world2009.m}' > > This is working fine from the Matlab prompt, BUT .. > when I try to compile via shell (cmd) command line it gives an error: > Error: "'java:MyPackage," is not a valid -W option argument > > Plus > > mcc -? show no option on -W 'java..'. > > it looks like the command line mode does not recognize the java builder? > > please advice. > Lior Finnaly found the solution the argument 'java:package, class' should be with " in cmd window (dos) whuile in Matlab command window it is ' .
|
Pages: 1 Prev: Memory management Next: Active Apperaance Model |