Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8222853

Java 12.0.1 jshell doesn't work well on Windows 10

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P3 P3
    • None
    • 12.0.1
    • tools
    • C:\Users\lukas>"\Program Files\Java\jdk-12.0.1\bin\jshell.exe" -version
      jshell 12.0.1

      C:\Users\lukas>ver
      Microsoft Windows [Version 10.0.17134.706]

    • x86
    • windows_10

      When using jshell from Java 12.0.1 on Windows 10, I cannot easily work with the command history by using the up/down arrows. This is best shown using a screencast of my command prompt.:

      https://i.imgur.com/nu6aa5R.gifv

      After entering the "var i = 1;" command, I'm trying to repeat that command by simply hitting the up arrow key on my machine. It then displays random characters (first "a", then "OA"). Once I delete those characters, I can access the actual commands I executed previously.

            jlahoda Jan Lahoda
            leder Lukas Eder
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: