I'm request gradle exeutable to terminal repository.
I'm working on the Shattered PD fork, which is collected with Gradle.
Okay, there the assembler's work is simply done (we move classes from the graphics library to the game part), however with large projects the heap of actions that Gradle performs is manually performed almost impossible or incredibly long.
How soon will Ant, at least Ant, or another Java project collector appear in Termux?
It is possible to have java. The package in disabled builds. Its very large and slow though and is prone to using 100% cpu forcing android to crash often on arm and slower phones.
@TrashboxBobylev Java is available through:
Now you can install Arch Linux in Termux 馃摬 on your smartphone and tablet. More information at https://sdrausty.github.io/TermuxArch
Java is available through https://sdrausty.github.io/TermuxArch/ Just follow the easy install instructions at https://sdrausty.github.io/TermuxArch/docs/install or simply run the following in you Termux window:
cd && git clone https://github.com/sdrausty/TermuxArch
./TermuxArch/setupTermuxArch.sh
Read more about the Arch Linux package manager at duckduckgo arch+linux+install+java+pacman.
To install java simply run:
pacman -Syy; pacman -Su; pacman -S jdk8-openjdk

Closing this issue in favour of tracking https://github.com/termux/termux-packages/issues/45 for openjdk support (which will bring tools such as ant and gradle).
Gradle works on the fly for x86 and x86_64 architectures using Termux Arch in Termux PRoot. Arm architures must wait, as it appears the gradle is x86 architecture specific.
@sdrausty Gradle works on the fly for x86 and x86_64 architectures using Termux Arch in Termux PRoot.
PRoot apparently includes the extraordinary feature of emulating other architectures:
PRoot internally utilizes the qemu user-mode emulator to allow programs to be run inside the PRoot even when they are compiled for an architecture other than the host system's https://wiki.archlinux.org/index.php/PRoot
Maybe there's more to it, but shouldn't switching on this emulation make it possible to run Gradle on arm architectures?
PRoot apparently includes the extraordinary feature of emulating other architectures:
Maybe there's more to it, but shouldn't switching on this emulation make it possible to run Gradle on arm architectures?
@hyperpallium QEMU is not embedded into proot. It uses external binary which is specified with --qemu option:
-q *command*, --qemu=*command*
Execute guest programs through QEMU as specified by *command*.
Each time a guest program is going to be executed, PRoot inserts
the QEMU user-mode command in front of the initial request.
That way, guest programs actually run on a virtual guest CPU
emulated by QEMU user-mode. The native execution of host programs
is still effective and the whole host rootfs is bound to
/host-rootfs in the guest environment.
but shouldn't switching on this emulation make it possible to run Gradle on arm architectures?
I tried to use qemu with proot but it even slower than emulating whole OS with qemu-system. It also may take hours to compile Android application.
Most helpful comment
It is possible to have java. The package in disabled builds. Its very large and slow though and is prone to using 100% cpu forcing android to crash often on arm and slower phones.