0

Since Java 1.6 there is this nice Script Engine Manager which let's i.e. execute JavaScript scripts in run time. Is there something similar in functionality in Java 1.5?

3 Answers 3

2

The Jakarta BSF lets you run different scripting languages within the Java framework (prior to Java 6). Here's a list of supported languages.

Sign up to request clarification or add additional context in comments.

Comments

1

Yes, there is - Mozilla Rhino. Same as with 1.6, actually, you just need to write a bit more integration code yourself.

Here's a tutorial on embedding Rhino into your app.

Comments

1

It should be possible to run JSR223 on Java 5, at least according to this article.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.