0
Java on Termux
Can I install Java on Termux (Termux is an amazing Android app and Linux Terminal).
15 Respostas
+ 6
Finally, 「HAPPY TO HELP」 had the answer.
https://code.sololearn.com/WnXShjZ686ht/?ref=app
Thanks a lot !
+ 9
Termux is not just a terminal emulator. You can install a lot of packages (python, php, nodejs, code editors like micro or vim... ). Thanks to Termux, I don't need to download external editors, and I wanted to do the same thing with Java.
In any case thanks for the link !
+ 5
Termux can not install Java itself, but is able to run Ubuntu. In the Termux wiki you have a tutorial on how to install Ubuntu, then search tutorial to install Java in Ubuntu:
https://wiki.termux.com/wiki/Ubuntu
+ 3
wow, I didn't know termux is that powerful. Btw. I just found this but I've no idea if it'll work: https://www.hax4us.com/2018/06/install-latest-java-9-in-termux-without.html?m=1
+ 3
zenkristaps I already use SublimeText3 on my PC. I was talking about my phone (Termux is an Android app).
+ 2
It does not seem to work, I found this too. Thanks anyway !
+ 2
*AsterisK* Thanks for the link, but a rooted phone is needed, and it's not my case.
+ 2
zenkristaps I'm currently using micro as text editor. Vim can it run java ? I thought that it was just an editor...
+ 2
Well no but actually yes. Use ecj as compiler then use dx which converts java bytecode to dalvik bytecode then use dalvikvm for running your converted bytecode its super lightweight and easy but you can't use sun microsystems packages. All of those can be installed using apt (except dalvikvm. Dalvik is always there)
+ 1
Termux is (as far I understood) just a terminal emulator for Android and therefore it can not simply install things. Even on a regular Linux the package manager does this and on Android that's the Playstore or F-Droid. Also installing an app doesn't usually make it available in the command line. But instead you can just try to install a Java IDE and use it for development. https://blog.idrsolutions.com/2014/12/android-apps-ide-for-java-coder-programmers/
+ 1
termux sucks lot of storage and get very heavy with time, it is 100% cool anyways, but during the time I use it am not sure if java an be install on it
edit: I just found this link https://www.hax4us.com/2017/08/install-java-in-your-termux-then.html?m=1
and you can try find it on git, maybe you can get to install it through there, it's easy that way though
+ 1
Good app but it does not seem to work offline (and I want an offline editor, else I would use SoloLearn editor.
0
I was facing a issue "unable to locate the package Java". I have followed this java installation tutorial(https://onegyd.com/install-java-in-termux/) and succeed.
0
Termux is one of my favorites, I can't live without it.
https://techyvoice.com/bnsf-emulator-mainframe/