Implementation of the abstract script engine following JSR 223. Contains fundamental class member resolvers that are used for exporting of the Java objects into scripts. For further information how to use this core on implementing your own scripting engine see jsen-js where it has been already used.
This library is fork of ScriptBox.
- Have installed JDK 1.6 or newer - JDK 1.8 is recommended
- Have installed Maven build manager
- Have set system variable
JAVA_HOME
to directory with installed JDK and have its binary directory in the system variablePATH
- e.g. on Windows add toPATH
variable%JAVA_HOME%\bin
(more here) - Have in the system variable
PATH
the directory with Maven installation
Simply run command: mvn package
<dependency>
<groupId>com.github.jutils</groupId>
<artifactId>jsen-core</artifactId>
<version>0.0.1</version>
</dependency>
Have built library (see previous section) and have it specified on classpath
If you run into any bug, please report on:
https://github.com/ITman1/jsen-core/issues
- Thrown error during
javac
build:error: annotation XYZ is missing value for the attribute <clinit>
- This error may occur if you are running Sun JDK compiler
- It is known bug: http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6857918
- Solution: use JDK 8 or use different compiler than
javac
eg. Edifact Java Compiler (EJC)
Author: Radim Loskot
gmail.com: radim.loskot (e-mail)
Please feel free to contact me if you have any questions.