Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Running JShell as an interactive external tool?
Running JShell as an interactive external tool? [message #1769553] Tue, 01 August 2017 14:25 Go to next message
Mary Ellen Foster is currently offline Mary Ellen FosterFriend
Messages: 4
Registered: July 2009
Junior Member
I'm keen to run JShell through Eclipse rather than from the command line directly. I found various instructions online about setting up an external tool (here's one example:

I tried using these instructions to run JShell and it *almost* works -- jshell will launch, but it doesn't seem to be interactive. That is, it won't respond to anything I've typed. See below:


I have verified that "Allocate console" is checked in the launch configuration. Anything else to try?

If it's relevant, here's my Eclipse version info:
Eclipse IDE for Java Developers

Version: Oxygen Release (4.7.0)
Build id: 20170620-1800
  • Attachment: Capture.PNG
    (Size: 11.30KB, Downloaded 260 times)

[Updated on: Tue, 01 August 2017 14:26]

Report message to a moderator

Re: Running JShell as an interactive external tool? [message #1769614 is a reply to message #1769553] Wed, 02 August 2017 08:23 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1627
Registered: July 2009
Senior Member
Perhaps JShell uses See
But judging from the that bug, requesting a Console would then simply return null, so JShell might actually NPE or similer.
Previous Topic:Fortify 3.6 Eclipse Plugin
Next Topic:compilerArg for batch compiler/PDE Build -warn:-raw not working
Goto Forum:

Current Time: Wed Sep 19 13:30:53 GMT 2018

Powered by FUDForum. Page generated in 0.02074 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top