Can i run codes on termux without rooting? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Can i run codes on termux without rooting?

why cant i run codes on termux i saved codes on my sdcard like name.java but it just gives exception like the file is not located help

23rd Jan 2019, 9:46 AM
Challenge Quest
Challenge Quest - avatar
1 Answer
+ 2
Termux doesn't support running Java programs ... Best solution I found is to install Debian on top of termux, install jdk in debian and then run Java programs... No need to root your phone to install Debian on termux, and it takes about 400MB with jdk... Make sure u use apt install jdk headless
23rd Jan 2019, 1:53 PM
Elva
Elva - avatar