Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there an interactive interpreter for Java? [closed]

I want to execute java commands interactively from shell: is there a way to do so?

like image 710
Mohamed Khamis Avatar asked May 04 '11 22:05

Mohamed Khamis


People also ask

Does Java have a REPL?

The Java Shell tool (JShell) is an interactive tool for learning the Java programming language and prototyping Java code. JShell is a Read-Evaluate-Print Loop (REPL), which evaluates declarations, statements, and expressions as they are entered and immediately shows the results. The tool is run from the command line.

Is there a Java interpreter?

Interpreter in Java is a computer program that converts high-level program statement into Assembly Level Language. It is designed to read the input source program and then translate the source program instruction by instruction.


Video Answer


1 Answers

The closest thing I'm aware of is BeanShell.

like image 191
McDowell Avatar answered Sep 19 '22 14:09

McDowell