You want to install Java 23 on your server?

 

1. Update server package list

apt update && apt upgrade -y

 

2. Install Java 23

wget https://download.oracle.com/java/23/archive/jdk-23.0.2_linux-x64_bin.deb
sudo dpkg -i jdk-23.0.2_linux-x64_bin.deb

 

3. Checking the Java version

java -version
Was this answer helpful? 3 Users Found This Useful (4 Votes)