Q: Can't press enter in jshell on Linux-terminal I'm using Xubuntu. When I start jshell in the terminal, I doesn't recognize when I press the enter key. Every other key gets detected normaly. Any suggestions how to fix that?

A: Solution for laptop users without an number pad on their keyboard:

*

*Plug in an extra keyboard with a number-pad.

*Start jshell, try to press enter on your laptop keyboard.

*If it still doesn't work: On the extra keyboard: press "Num" key with which you activate the number pad.

*Now pressing enter on your laptop keyboard again.

It should work now, otherwise turn the numberpad off and on again and repeat step 4.
Don't know why it works that way, but it does.

A: Write the following in your terminal:
numlockx on

Now it will work. To make this permanent, let Xubuntu execute this after booting.
