Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Java #194

Closed
eldipa opened this issue Jul 4, 2021 · 0 comments · Fixed by #198
Closed

Support Java #194

eldipa opened this issue Jul 4, 2021 · 0 comments · Fixed by #198
Labels
enhancement something nice to have but it is not neither critical nor urgent
Milestone

Comments

@eldipa
Copy link
Collaborator

eldipa commented Jul 4, 2021

Describe the feature you'd like
Following #183 , #176 and #175 , this is the turn of Java. We can use its jshell interpreter.

Additional comments
/set mode allows to change several aspects of how the prompt and the results are printed.

Preliminary experiments show that jshell does not disable the echo and it outputs ANSI codes so it is not going to b easy. Setting TERM=dumb makes the output much simpler but still the echos are there. setecho(False) didn't work.

See also https://manpages.debian.org/unstable/openjdk-13-jdk-headless/jshell.1.en.html

@eldipa eldipa added the enhancement something nice to have but it is not neither critical nor urgent label Jul 4, 2021
@eldipa eldipa added this to the 10.3.0 milestone Jul 4, 2021
eldipa added a commit that referenced this issue Jul 10, 2021
Issue #194: add classpath, modulepath options (see jshell)
eldipa added a commit that referenced this issue Jul 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement something nice to have but it is not neither critical nor urgent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant