Start terminal (ctrl+alt+t) and type the following command :
sudo update-alternatives --config java
This will print option as follows :
sudo update-alternatives --config java
This will print option as follows :
Kali Linux + GNOME 50 + GNOME Remote Desktop + Windows Remote Desktop (MSTSC) Getting a full GNOME desktop remotely on Kali Linux can be ...