Follow the instructions as shown in the video and below are the commands you will need. Install Debian (tap the command to copy):
curl -o setup.sh https://raw.githubusercontent.com/AnBui2004/termux/main/installprootdistrodebian.sh && chmod +rwx setup.sh && ./setup.sh && rm setup.sh
Install IntelliJ IDEA (tap the command to copy):
curl -o setup.sh https://raw.githubusercontent.com/AnBui2004/termux/main/idea.sh && chmod +rwx setup.sh && ./setup.sh && rm setup.sh
Login to Debian (tap the command to copy):
proot-distro login debian
Run IntelliJ IDEA (tap the command to copy):
./idea.sh