Добавить
Уведомления

How to Install JDK(15.0.1) on a Mac - Java on Mac

How to install JDK on a mac - This video helps you install Java/JDK on a mac. Steps to Install Java: 1. Check to see if java exists: java -version 2. Download java from this link https://www.oracle.com/java/technologies/javase-downloads.html 3. Launch the installer and follow the steps 4. To check where is java installed run the following command in a terminal /usr/libexec/java_home -v15 How to Set up JAVA_HOME environment variable 5. Create a new file if it does not exist already touch ~/.bash_profile 6. Open the file vi ~/.bash_profile 7. Copy the following contents, this value can be copied from step 4 export JAVA_HOME=Replace this with value from step 4 8. Save the file 9. Run the following command to load the contents of the file source ~/.bash_profile 10. Check JAVA_HOME value: echo $JAVA_HOME 11. Check java version: java -version Please let me know if this video is helpful and also if you have any suggestions :) #Java #JDK #Programming

12+
15 просмотров
2 года назад
5 декабря 2023 г.
12+
15 просмотров
2 года назад
5 декабря 2023 г.

How to install JDK on a mac - This video helps you install Java/JDK on a mac. Steps to Install Java: 1. Check to see if java exists: java -version 2. Download java from this link https://www.oracle.com/java/technologies/javase-downloads.html 3. Launch the installer and follow the steps 4. To check where is java installed run the following command in a terminal /usr/libexec/java_home -v15 How to Set up JAVA_HOME environment variable 5. Create a new file if it does not exist already touch ~/.bash_profile 6. Open the file vi ~/.bash_profile 7. Copy the following contents, this value can be copied from step 4 export JAVA_HOME=Replace this with value from step 4 8. Save the file 9. Run the following command to load the contents of the file source ~/.bash_profile 10. Check JAVA_HOME value: echo $JAVA_HOME 11. Check java version: java -version Please let me know if this video is helpful and also if you have any suggestions :) #Java #JDK #Programming

, чтобы оставлять комментарии