From owner-freebsd-questions@FreeBSD.ORG Sat Aug 15 12:01:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31BF71065691 for ; Sat, 15 Aug 2009 12:01:37 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-mealy.atl.sa.earthlink.net (elasmtp-mealy.atl.sa.earthlink.net [209.86.89.69]) by mx1.freebsd.org (Postfix) with ESMTP id 05CDD8FC65 for ; Sat, 15 Aug 2009 12:01:36 +0000 (UTC) Received: from [66.47.111.183] (helo=jail.joeandlane.com) by elasmtp-mealy.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1McHiO-0004w2-9W for freebsd-questions@freebsd.org; Sat, 15 Aug 2009 07:46:28 -0400 Received: from [192.168.0.200] (SERVER [192.168.0.200] (may be forged)) by jail.joeandlane.com (8.14.3/8.14.3) with ESMTP id n7FBjNO1074039 for ; Sat, 15 Aug 2009 06:45:23 -0500 (CDT) (envelope-from lane@joeandlane.com) From: Lane Holcombe To: freebsd-questions@freebsd.org Content-Type: text/plain Date: Sat, 15 Aug 2009 06:45:16 -0500 Message-Id: <1250336716.18733.480.camel@lholcombe-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.26.1 Content-Transfer-Encoding: 7bit X-ONCEAWAVE-MailScanner-Information: Please contact the ISP for more information X-MailScanner-ID: n7FBjNO1074039 X-ONCEAWAVE-MailScanner: Found to be clean X-ONCEAWAVE-MailScanner-From: lane@joeandlane.com X-Spam-Status: No X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec794c5b3cd385d0d5226a52993fc35a0966350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 66.47.111.183 Subject: Java does not expose ScriptEngine X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2009 12:01:37 -0000 Hello, JDK 1.6 supposedly bundles rhino scripting, but this does not seem to be the case on FreeBSD 7 for java/jdk16, java/diablo-jdk16 or java/openjdk6 as each call to ScriptEngineManager.getEngineFactories() returns an empty list. when I put the script-engine jar into the classpath: (e.g. put js-engine.jar into /usr/local/diablo-jdk1.6.0/jre/lib/ext) java does not load the script engine as expected. On other os's (have tested Windows, and ubuntu) I can add a scriptengine simply by placing the jar in the classpath. Does anyone have any information about how to use scripting with java on FreeBSD? thanks! lane