test/javax/script/VersionTest.java

Print this page

        

@@ -23,10 +23,11 @@
 
 /*
  * @test
  * @bug 6346729 6705893
  * @summary Create JavaScript engine and check language and engine version
+ * @run main/othervm -Djava.awt.headless=true VersionTest
  */
 
 import javax.script.*;
 import java.io.*;