X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FJalview.java;h=d0b3232b47d6658d3841be320b89b40e16b86086;hb=65d6d09cd08743d481d39521bb0298ea683888f8;hp=1eeda9850f0f8db3d16df111d0aef88a6a2681be;hpb=522d1b6d2373d084ccaa1b7db82ea42d2430a188;p=jalview.git diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 1eeda98..d0b3232 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -90,6 +90,7 @@ public class Jalview */ public static void main(String[] args) { + System.setSecurityManager(null); System.out.println("Java version: " + System.getProperty("java.version")); System.out.println(System.getProperty("os.arch") + " " @@ -515,20 +516,10 @@ public class Jalview { // Execute the groovy script after we've done all the rendering stuff // and before any images or figures are generated. - if (jalview.bin.Cache.groovyJarsPresent()) - { - System.out.println("Executing script " + groovyscript); - executeGroovyScript(groovyscript, new Object[] { desktop, af }); - - System.out.println("CMD groovy[" + groovyscript - + "] executed successfully!"); - } - else - { - System.err - .println("Sorry. Groovy Support is not available, so ignoring the provided groovy script " - + groovyscript); - } + System.out.println("Executing script " + groovyscript); + executeGroovyScript(groovyscript, new Object[] { desktop, af }); + System.out.println("CMD groovy[" + groovyscript + + "] executed successfully!"); groovyscript = null; } String imageName = "unnamed.png";