Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use java repl plugin in intellij?

I tried to install Java REPL plugin for IntelliJ IDEA but it is not working with the exception java.lang.NoClassDefFoundError

screenshot of error

Can anyone tell me how to correct these issues with Java REPL on IntelliJ?

like image 415
Mayank Wadhwa Avatar asked Aug 04 '26 11:08

Mayank Wadhwa


1 Answers

The plugin is broken and will not run on IntelliJ 14.1.x, 15x or 2016.

As an alternate, you could download the jar executable and run it at a command prompt. Use the 'Latest Version' link (or compile the source) from here: https://github.com/albertlatacz/java-repl

$ java -jar javarepl.jar
Welcome to JavaREPL version 303 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_65)
Type expression to evaluate, :help for more options or press tab to auto-complete.
java>
like image 163
Bajal Avatar answered Aug 06 '26 00:08

Bajal



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!