1

I remember running into an open source project that built a Java scripting engine that interprets Java (no, not Rhino, that's for JavaScript, it runs Java). If you have come across that project, please share Link(s).

(Of course doing a Google search of the word combination of Java and scripting returns all the JavaScript results, alas, that is not what I am looking for damn you google!!!)

vladimir.vivien
  • 512
  • 1
  • 6
  • 8

3 Answers3

3

You probably want BeanShell. From their site:

BeanShell is a small, free, embeddable Java source interpreter with object scripting language features, written in Java. BeanShell dynamically executes standard Java syntax and extends it with common scripting conveniences such as loose types, commands, and method closures like those in Perl and JavaScript.

(emphasis mine)

Adam Batkin
  • 51,711
  • 9
  • 123
  • 115
0

You mean Groovy or Grails? Which are scripting languages that convert into bytecode.

Woot4Moo
  • 23,987
  • 16
  • 94
  • 151
0

Jikes research VM is Java written in Java.
http://en.wikipedia.org/wiki/Jikes_RVM

And here's a list of Java implementations:
http://en.wikipedia.org/wiki/List_of_Java_virtual_machines

Mark Bolusmjak
  • 23,606
  • 10
  • 74
  • 129