[Bug 213080] java/openjdk7: JavaScript engine not included and other ports affected

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 29 11:49:08 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213080

            Bug ID: 213080
           Summary: java/openjdk7: JavaScript engine not included and
                    other ports affected
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: glewis at FreeBSD.org
          Reporter: 1983-01-06 at gmx.net
             Flags: maintainer-feedback?(glewis at FreeBSD.org)
          Assignee: glewis at FreeBSD.org

On:
$ uname -rK
9.3-STABLE 903511

$ /usr/local/openjdk7/bin/jrunscript -q

but

$ /usr/local/openjdk8/bin/jrunscript -q
Language ECMAScript ECMA - 262 Edition 5.1 implementation "Oracle Nashorn"
1.8.0_102

Version 7 does not have Nashorn installed/bundled. This causes runtime errors.
E.g., port sysutils/javaservicewrapper has JAVA_VERSION=1.4+ and requires
JavaScript to run some tests. If you have only OpenJDK7 installed, tests will
fail instantly.

Either check wether the distro includes Nashorn or opt-in to use Rhino if not
possible.

Similar reports:
http://stackoverflow.com/a/10165101/696632
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1553654
http://stackoverflow.com/a/9665893/696632
https://netbeans.org/bugzilla/show_bug.cgi?id=209491
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/920214

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list