php/javabridge实例|php调用java实例

package test;
publicclasshelloworld {publicstaticfinal string javabridge_port = “8080”;//这个8080端口是java.inc里指定的staticfinal php.java.bridge.javabridgerunner runner = php.java.bridge.javabridgerunner
.getinstance(javabridge_port);
publicstaticvoidmain(string args[]) throws exception {
runner.waitfor();
system.exit(0);
}
publicvoidhello(string args[]) throws exception {
system.out.println(“!!!” + args[0]);
}
}

‘).addclass(‘pre-numbering’).hide();
$(this).addclass(‘has-numbering’).parent().append($numbering);
for (i = 1; i

Posted in 未分类

发表评论