How do you manually install java openjdk?
Posted by daygamer77@reddit | linuxadmin | View on Reddit | 18 comments
So my current openjdk version is 11.0.23 and i needed to update it to 11.0.24.
I downloaded the package and extracted it on the system.
Then the extracted files has some bunch of folders and stuff.
How do you actually install this to the system?
Thanks in advance.
markusro@reddit
Did you try follow the instructions?
https://openjdk.org/install/
daygamer77@reddit (OP)
yeah that what im asking actually, how to do that? im using cent 7
IAmSnort@reddit
Downvoting this is peak reddit.
draeath@reddit
lol, they caught downvotes for thanking me for helping them elsewhere in the thread.
I get downvoting bad ideas, "stupid" questions and the like - but why the heck do people downvote something like a thank-you?
Outrageous_Plant_526@reddit
Why are you using an unsupported OS?
draeath@reddit
update-alternatives
daygamer77@reddit (OP)
This works thank you so much
UsedToLikeThisStuff@reddit
CentOS 7 is end of life, no more support. Why are you using a dead release?
gehzumteufel@reddit
You don't. Upgrade to a supported OS. And then use sdkman to install java 11.
0bel1sk@reddit
hello fellow https://sdkman.io/jdks/ user!
gehzumteufel@reddit
I only learned about it in the last year! It sure makes dealing with JDKs much nicer!
dontbeanegatron@reddit
How did you install the current 11.0.23 version?
daygamer77@reddit (OP)
using yum install, system is centos 7, i cannot just use yum update because there is no longer update on cent 7.
devilkin@reddit
Stop using centos 7 and move to rocky Linux
Outrageous_Plant_526@reddit
Google how to update to Red Hat from CentOS or the quasi CentOS replacement. It is supposed to be a somewhat easy update.
ThatPlayingDude@reddit
Download rpm file and do rpm -ivh
JassLicence@reddit
I would use mamba-forge and run openjdk from an environment, especially on centos 7
GamerLymx@reddit
tar -xf openjdk...
cd openjdk...
./configure
make
make install