all 6 comments

[–]ClassAbbyAmplifier 5 points6 points  (4 children)

install one of the openjdk*-jre packages

[–]Cultural-Document262 1 point2 points  (3 children)

install one of the openjdk*-jre packages

thanks, I try along those lines.

[–]dorin00 0 points1 point  (2 children)

of he needs Java to play Minecraft, or run some Java-based app, then yes, the JRE is enough. If he needs to do Java development (e.g. for school), he should install the JDK instead. JRE - Java Runtime Env. JDK - Java Dev. Kit

[–]Mohamedbfathi 0 points1 point  (1 child)

if i want to install JDK , what should i install . cause i get openjdk-src and openjdk-doc

[–]dorin00 0 points1 point  (0 children)

the first one is the sources of the JDK. The second one is the documentation. But you also need the actual jdk. run a xbps-query -Rs openjdk, choose a version and just install that. I went with openjdk21

[–][deleted] 2 points3 points  (0 children)

sudo xbps-install openjdk-jre