• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Most Java Like Run Time/Scriptable Interpreted Language

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic