Include Perl in Java

前端 未结 7 1280
予麋鹿
予麋鹿 2020-12-31 20:19

Is there any way to execute perl code without having to use Runtime.getRuntime.exec(\"...\"); (parse in java app)?

7条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-31 21:12

    In the future, the standard way to use any scripting language is through the java Scripting Support introduced in JSR 223. See the scripting project homepage for a list of scripting languages supported at the moment. Unfortunately, Perl isn't on there yet :-(

提交回复
热议问题