User:A J 467

''' For installation of java in termux your termux should be installed from F-droid or Github. '''

 #run the following command one by one :

apt update && apt upgrade

pkg search openjdk

pkg install openjdk-17

pkg install vim

#for creating a file :

vim 

 #for compiling java file: 

javac 

 #for running (after compiling): 

java