filmov
tv
Java Beginner Tutorial 3 - How to install or update JAVA on Mac
Показать описание
If you are using MacOS Catalina, you need to set JAVA_HOME in .zprofile instead of .bash_profile. Otherwise echo $JAVA_HOME won't show.
Hi, I am Raghav and today we will learn - How to install or update JAVA on Mac
1. How to setup and install java on mac os
2. How to setup Java env variables
3. How to change/switch java version on your system
_____________________________________
Step 1 : check if java is installed
Terminal : java -version
: javac -version
Step 2 : download and install java
Step 3 : How to set java env variable - JAVA_HOME
echo $JAVA_HOME
setting JAVA_HOME
setting JAVA_HOME in .bash_profile
Step 4 : How to switch java version
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
________ ONLINE COURSES TO LEARN ________
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ PROGRAMMING ------------
------------ IDE ------------
------------ MAVEN ------------
------------ OTHERS ------------
Keep Learning,
Raghav
----------- Connect with Raghav ------------
Like, Subscribe & Share
You can support my mission for education by sharing this knowledge and helping as many people as you can
Hi, I am Raghav and today we will learn - How to install or update JAVA on Mac
1. How to setup and install java on mac os
2. How to setup Java env variables
3. How to change/switch java version on your system
_____________________________________
Step 1 : check if java is installed
Terminal : java -version
: javac -version
Step 2 : download and install java
Step 3 : How to set java env variable - JAVA_HOME
echo $JAVA_HOME
setting JAVA_HOME
setting JAVA_HOME in .bash_profile
Step 4 : How to switch java version
export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
________ ONLINE COURSES TO LEARN ________
------------ UI TESTING ------------
------------ API TESTING ------------
------------ MOBILE TESTING ------------
------------ CI | CD | DEVOPS ------------
------------ VERSION CONTROL SYSTEM ------------
------------ PERFORMANCE TESTING ------------
------------ PROGRAMMING ------------
------------ IDE ------------
------------ MAVEN ------------
------------ OTHERS ------------
Keep Learning,
Raghav
----------- Connect with Raghav ------------
Like, Subscribe & Share
You can support my mission for education by sharing this knowledge and helping as many people as you can
Комментарии