我想要使用Java9(JDK9)运行DMelt程序(http://jwork.org/dmelt/),但是会出现错误,例如:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.python.core.PySystemState (file:/dmelt/jehep/lib/jython/jython.jar) to method java.io.Console.encoding()
WARNING: Please consider reporting this to the maintainers of org.python.core.PySystemState
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
我该怎么办?我尝试在脚本 "dmelt.sh" 的最后一行添加 –illegal-access=permit(我正在Linux中使用bash),但这并没有解决这个问题。我对此非常沮丧。我经常使用这个程序,已经使用了很长时间了。也许我不应该升级到JDK9。