test/nashorn/script/error/heredoc_nse.js:32:10 Expected an operand but found << var str = <<EOF ^ test/nashorn/script/error/heredoc_nse.js:33:5 Expected ; but found is This is a multiple line string ^ test/nashorn/script/error/heredoc_nse.js:34:7 Expected ; but found a inside a heredoc ^