@@ -24,10 +24,11 @@ /* * @test * @bug 6474943 6705893 * @summary Test that Rhino exception messages are * available from ScriptException. + * @run main/othervm -Djava.awt.headless=true RhinoExceptionTest */ import java.io.*; import javax.script.*;