From owner-freebsd-questions@FreeBSD.ORG Sat Aug 15 20:52:41 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 C83CB106568C for ; Sat, 15 Aug 2009 20:52:41 +0000 (UTC) (envelope-from lane@joeandlane.com) Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by mx1.freebsd.org (Postfix) with ESMTP id 9C0E68FC4D for ; Sat, 15 Aug 2009 20:52:41 +0000 (UTC) Received: from [66.47.111.183] (helo=jail.joeandlane.com) by elasmtp-kukur.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1McQEy-00057H-I9 for freebsd-questions@freebsd.org; Sat, 15 Aug 2009 16:52:40 -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 n7FKpLTw008948 for ; Sat, 15 Aug 2009 15:51:22 -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: n7FKpLTw008948 X-ONCEAWAVE-MailScanner: Found to be clean X-ONCEAWAVE-MailScanner-From: lane@joeandlane.com X-Spam-Status: No X-ELNK-Trace: e56a4b6ca9bdfda11aa676d7e74259b7b3291a7d08dfec79f2000aac342782d7c49f7e4abb255aba350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c 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 20:52:41 -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