Java's ScriptEngine system allows you to run/evaluate statements written in other programming languages like Javascript/ECMAScript, Python/Jython, and Tcl/Jacl.
Questions tagged [scriptengine]
227 questions
-1
votes
2 answers
Can reflection bind a class to a new name?
I am trying to let users of my program rename classes and methods in the class. The new names can be read in and configured at run time and they will call these classes and methods in a scripting language using Java Script Engine. I need a way to…

Kyle Bridenstine
- 6,055
- 11
- 62
- 100
-5
votes
2 answers
Evaluate String expression in java
Given that I have the string below: "june1 + august1".
I need the final value to evaluate to "julyseptember"
But the final value is currently evaluating to "july + september".
What needs to be done so the string evaluates to what I need it to…

Imran
- 9
- 1