Thanks for the comments that verified that the Up Arrow line editing worked in Linux for JDK 23. I dug a little deeper and found this, which, if I interpret it correctly, that the behavior was introduced in JDK 22.