< prev index next >
samples/dynalink/dom_linker.js
Print this page
*** 35,45 ****
// jdk9 image and put the 'bin' directory in the PATH
$EXEC.throwOnError=true
// compile DOMLinkerExporter
! `javac -cp ../dist/nashorn.jar DOMLinkerExporter.java`
// make a jar file out of pluggable linker
`jar cvf dom_linker.jar DOMLinkerExporter*.class META-INF/`
// run a sample script that uses pluggable linker
--- 35,45 ----
// jdk9 image and put the 'bin' directory in the PATH
$EXEC.throwOnError=true
// compile DOMLinkerExporter
! `javac -cp ../../dist/nashorn.jar DOMLinkerExporter.java`
// make a jar file out of pluggable linker
`jar cvf dom_linker.jar DOMLinkerExporter*.class META-INF/`
// run a sample script that uses pluggable linker
< prev index next >