/share/work/biosoft/tools/distributing_svg_4.74/svg2xxx_release/svg2xxx all.KEGG.svg ./ -dpi 300 Exception in thread "main" java.lang.UnsupportedOperationException: The Security Manager is deprecated and will be removed in a future release at java.base/java.lang.System.setSecurityManager(System.java:425) at org.apache.batik.util.ApplicationSecurityEnforcer.installSecurityManager(Unknown Source) at org.apache.batik.util.ApplicationSecurityEnforcer.enforceSecurity(Unknown Source) at org.apache.batik.apps.rasterizer.Main.execute(Unknown Source) at org.apache.batik.apps.rasterizer.Main.main(Unknown Source)
解决这个问题的简单办法是在执行前将自己的旧版的java加到环境变量里,
比如
exportPATH=/share/work/biosoft/java/jdk1.8.0_161/bin:$PATH
然后就能正常执行,或者直接修改perl执行测序,将里面 的java改为绝对路径,
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!