आइये देखते हैं की java 12 को centos 7 पर कैसे install करें
सबसे पहले हम java 12 को following command से download कर लेंगे

उसके बाद tar command से downloded file को extract कर लेंगे

उसके बाद extract की हुए file को /opt में move करा लेंगे

अब हम following command से java environment को configure कर लेंगे

अब हम following command से profile file को source कर लेते हैं

java version को check करने के लिए following command का use करेंगे
