jvm - Nashorn JJS: incuding all jars in folder at cpasspath -
i using nashorn's jjs -classpath load jars in folder.
i have tried following :
jjs -j-xmx512m -j-xx:maxdirectmemorysize=512m -cp "c:/orientdb/lib/*" test.js
"illegal char <> @ index 16: c:/orientdb/lib/" not recognized option. use "-h" or "-help" see list of supported options.
jjs -j-xmx512m -j-xx:maxdirectmemorysize=512m -cp c:/orientdb/lib/* test.js
c:\orientdb\lib\ant-1.8.3.jar:2:7 missing space after numeric literal ?3z@ meta-inf/?? pk
any ideas?
i verified "*" in -cp option works jjs - used mac test it. jjs version 1.8.0_112.
jjs -cp tmp/* worked me. in "tmp" directory, had single jar , jjs prompt can refer classes in jar.
Comments
Post a Comment