Installing
-
2. Installing Maven
Now to Install Maven for Rocky Linux
Simply play:sudo dnf in maven
-
3. Setting up Java
Verify that JDK 8+ is Installed on System
javac -version
How to Install Recommended Rocky Java JDK on Rocky Linux
To check your current JDK version:
javac --version && java -XshowSettings:properties -version 2>&1 | grep 'java.vendor'
If it’s the official Rocky JDK, the output will include:
java.vendor = Rocky Corporation
.
Contents