Skip to content
This repository has been archived by the owner on Sep 29, 2020. It is now read-only.

cevou/rhino-script-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rhino-script-engine

This is a copy of the RhinoScriptEngine which is embedded in Java 6/7. There an old version of Rhino (1.7R3) is used. The code in this repository uses the latest rhino version. This is only needed if you want to use the latest version of Rhino in the context of a ScriptEngine in Java 6/7. In Java 8 Nashorn is used as default ScriptEngine for JavaScript.

Using

Include the rhino-script-engine in your Maven POM.

<dependency>
  <groupId>de.christophkraemer</groupId>
  <artifactId>rhino-script-engine</artifactId>
  <version>1.1.0</version>
</dependency>

The ScriptEngine should be automatically found by the ScriptEngineFactory.

License

This code is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 only, as published by the Free Software Foundation. Oracle designates this particular file as subject to the "Classpath" exception as provided by Oracle in the LICENSE file that accompanied this code.

About

A replacement for the RhinoScriptEngine which is bundled in Java to use a newser Rhino version

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages