jrunscript from icedtea-7.2.0 just exits with the following error message: "script engine for language js can not be found" With USE=javascript, a rhino.jar appears inside the jre directory, but some glue code seems to be missing. While src.zip contains RhinoScriptEngineFactory and friends, the corresponding class files are neither in rt.jar nor in rhino.jar dev-java/icedtea-7.2.0-r3 USE=X alsa cups javascript jbootstrap nss pulseaudio source webstart dev-java/rhino-1.7.2-r2
i can confirm this with dev-java/icedtea-7.2.0-r4
Using icedtea-7.2.1 I get: $ GENTOO_VM=icedtea7 jrunscript -e "print('hello world\n')" hello world Can you still reproduce the issue with icedtea-7.2.1 and if so what works as a minimal test case?
USE="-pulseaudio" may be a workaround till next release of icedtea-7.
dev-java/icedtea-7.2.1 USE="X alsa cups javascript jbootstrap nss pulseaudio source webstart -cjk -debug -doc -examples -nsplugin -pax_kernel -systemtap -test" $ GENTOO_VM=icedtea-7 jrunscript -e "print('hello world\n')" script engine for language js can not be found same result with USE=-pulseaudio Do you have a /usr/lib/jvm/icedtea7 (without a dash) symlink or was that a typo?
yes, that was a typo. 'icedtea-7' is correct.
This is fixed in icedtea-7.2.2. Thanks for the report.