Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Sep 2016 11:49:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213080] java/openjdk7: JavaScript engine not included and other ports affected
Message-ID:  <bug-213080-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213080

            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@FreeBSD.org
          Reporter: 1983-01-06@gmx.net
             Flags: maintainer-feedback?(glewis@FreeBSD.org)
          Assignee: glewis@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 erro=
rs.
E.g., port sysutils/javaservicewrapper has JAVA_VERSION=3D1.4+ and requires
JavaScript to run some tests. If you have only OpenJDK7 installed, tests wi=
ll
fail instantly.

Either check wether the distro includes Nashorn or opt-in to use Rhino if n=
ot
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=3D209491
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/920214

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213080-13>