I've been trying to use JSch, and I made a small GUI.
However, when I tried to use cd work_folder, there will be a exit code 0, which means successful, however, the current directory does not change.
BUT, when I tried ls, pwd, mkdir zzzz, all these commands are executed successfully.
Has anyone has this problem before?