GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Oracle-DevOps-Training/SettingUp-JavaPath at main · Msocial123/Oracle-DevOps-Training Expand file tree/ Copy pathSettingUp-JavaPathMore file actions 47 lines (26 loc) · 1.18 KB / Copy pathSettingUp-JavaPathFile metadata and controls47 lines (26 loc) · 1.18 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 https://cloudsbaba.com/jenkins-installation-and-configuration-on-aws-ec2-instance/ https://medium.com/@sugam.arora23/installing-and-configuring-sonarqube-on-aws-ec2-a-step-by-step-guide-defd8955eb30 To check the Java Versions of Multiple Packages : sudo update-alternatives --config java Install JDK 17 : sudo yum -y install java-11-openjdk step1:- Install Java and setting Java Path sudo dnf install java-17-amazon-corretto -y ## sudo yum install java-11-amazon-corretto java -version To List out the installed Java : sudo alternatives --config java step2:- To find the java path find /usr/lib/jvm/java-17* | head -n 3 it will display the out put below like wise /usr/lib/jvm/java-17-amazon-corretto /usr/lib/jvm/java-17-amazon-corretto.x86_64 /usr/lib/jvm/java-17-amazon-corretto.x86_64/bin step3:- Create a file vi /etc/profile.d/jdk.sh and paste the above lines export JAVA_HOME=/usr/lib/jvm/java-11-amazon-corretto.x86_64 PATH=$JAVA_HOME/bin:$PATH save and exit step4:- Reload profile.d/jdk.sh file as given below command source /etc/profile.d/jdk.sh step5:- Once reload the file to check the java path given below command echo $JAVA_HOME /opt/apache-maven/conf/settings.xml |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |