File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Most Java Like Run Time/Scriptable Interpreted Language Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Most Java Like Run Time/Scriptable Interpreted Language" Watch "Most Java Like Run Time/Scriptable Interpreted Language" New topic
Author

Most Java Like Run Time/Scriptable Interpreted Language

Gary Furash
Greenhorn

Joined: Nov 03, 2010
Posts: 13
"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

Joined: Jul 14, 2010
Posts: 754

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.


[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
Gary Furash
Greenhorn

Joined: Nov 03, 2010
Posts: 13
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Most Java Like Run Time/Scriptable Interpreted Language
 
Similar Threads
career
Can java language be called as Cross Platform Language?
Why a jsp pages is translated into servlet ?
Balsamic Mockup: does it work with any language?
locaalhost vs 127.0.0.1