Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394609 - icedtea-7.2.0-r3: jrunscript: script engine for language js can not be found
Summary: icedtea-7.2.0-r3: jrunscript: script engine for language js can not be found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Java team
URL: http://icedtea.classpath.org/bugzilla...
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2011-12-13 22:21 UTC by Jan Kuemmel
Modified: 2012-06-10 14:02 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kuemmel 2011-12-13 22:21:58 UTC
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
Comment 1 Miroslav Šulc gentoo-dev 2011-12-26 12:27:29 UTC
i can confirm this with dev-java/icedtea-7.2.0-r4
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2012-05-01 18:30:30 UTC
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?
Comment 3 Ralph Sennhauser (RETIRED) gentoo-dev 2012-05-12 14:15:10 UTC
USE="-pulseaudio" may be a workaround till next release of icedtea-7.
Comment 4 Jan Kuemmel 2012-05-14 10:19:43 UTC
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?
Comment 5 Ralph Sennhauser (RETIRED) gentoo-dev 2012-05-14 12:34:49 UTC
yes, that was a typo. 'icedtea-7' is correct.
Comment 6 Ralph Sennhauser (RETIRED) gentoo-dev 2012-06-10 14:02:56 UTC
This is fixed in icedtea-7.2.2. Thanks for the report.