11111
parent
9cb61af749
commit
734c4a5104
|
@ -135,8 +135,8 @@ public class RuleEngineVersionServiceImpl extends ServiceImpl<RuleEngineVersionM
|
|||
OutputStream second = null; // 程序的输出 null 用 system.out
|
||||
OutputStream third = null; // 程序的错误输出 .,null 用 system.err
|
||||
// 程序编译参数 注意 我们编译目录是我们的项目目录
|
||||
String[] strings = {"-classpath", "home/lib/", "-verbose", "-d", "home/lib/", "home/lib/"+className+".java"};
|
||||
log.info("规则引擎的编译参数[]",Arrays.toString(strings));
|
||||
String[] strings = {"-classpath", "home/lib/", "-verbose", "-d", "home/lib/", "home/source/"+className+".java"};
|
||||
log.info("规则引擎的编译参数{}[]",Arrays.toString(strings));
|
||||
// 0 表示成功, 其他表示出现了错误
|
||||
System.out.println(Arrays.toString(strings));
|
||||
int i = javaCompiler.run(first, second, third, strings);
|
||||
|
|
Loading…
Reference in New Issue