--- old/test/javax/script/Test6.java 2012-06-22 17:53:36.000000000 -0700 +++ new/test/javax/script/Test6.java 2012-06-22 17:53:36.000000000 -0700 @@ -26,6 +26,7 @@ * @bug 6249843 6705893 * @summary Test basic script compilation. Value eval'ed from * compiled and interpreted scripts should be same. + * @run main/othervm -Djava.awt.headless=true Test6 */ import java.io.*;