Closed crat1985 closed 1 year ago
postinst
error would be related to https://github.com/termux/termux-packages/pull/15108#issuecomment-1431939273
And don't use openjdk-19*
. First install openjdk-19_19.0_aarch64.deb
and then optionally openjdk-19-x_19.0_aarch64.deb
if X11 related stuff is required, since later depends on former and former must be installed first.
Okay thanks I'll try :)
@agnostic-apollo When I execute postinst, I get this error :
./postinst: 6: Syntax error: word unexpected (expecting "do")
Next build from https://github.com/termux/termux-packages/pull/15108 should™ have working postinst scripts, if you want to try it before you have to remove the script, for example following instructions in https://stackoverflow.com/a/47852901 (but without sudo)
This will also cause binaries to not be in PATH, so you would have to add $PREFIX/lib/jvm/openjdk-19-java/bin
to PATH to find java
and friends.
Ok thanks I'll try that right now !
It worked !
Great, please let us know if there are any issues with openjdk-19!
i want openjdk19 too how i get it? if you have any link of that deb file please give me i have to download 300MB file? ):
Problem description
Error while installing openjdk-19 in Termux from https://github.com/termux/termux-packages/actions/runs/4163778931 :
What steps will reproduce the bug?
Download openjdk-19 for aarch64 from https://github.com/termux/termux-packages/actions/runs/4163778931 and extract it. Finally do
dpkg -i openjdk-19*
in the extracted folderWhat is the expected behavior?
OpenJDK should install properly.
System information
termux-info: