Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Most Java Like Run Time/Scriptable Interpreted Language

 
Gary Furash
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Languages," "Shells," and the like such as node.js, bash, etc. can be run from a command prompt, with each line intepreted as you go, or from a single text file (*.sh). I'm curious if there is any very-Java like equivalent in terms of syntax, being able to access libraries, etc. I would have guessed Beanshell but the project has been dead for a while. Groovy is interesting but it's is own language. Thanks in advance.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You also can run java by prompt with the command "java".

But your first need to create a class and compile it. The class will be like your script.
 
Gary Furash
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.

I also just found out that BeanShell lives! BeanShell, to the best of my knowledge, was the most Java-like of the JVM scripting languages. It was abandoned back around 2006, but is alive and well on GitHub as BeanShell2.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic