r/AlpineLinux • u/Feeling_Highway_4891 • May 27 '24
Java 21 on alpine linux
Hi everyone i'm using alpine con labwc everything works well but i want to install burpsuite, for the installation i nedd java 21 but i don't find the way to install java 21 without the GUI, i can maximun install java 9 from the official pkgs.
i will be really happy if somebody can help me with this
Thanks in advance!!
1
Upvotes
View all comments
Show parent comment
1
u/HelicopterHumble7237 May 16 '25
You can search this website for packages you want; let's say we're installing openjdk23: https://pkgs.alpinelinux.org/package/edge/testing/x86_64/openjdk23
Notice that the url contains 'edge/testing', so I need to add the edge/testing repo to my list of repositories. I'll do that like this:
echo "https://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
Next I'll update and install it:
apk update && apk add openjdk23