Java JDK 17 Installation on MAC OS M1/M2 | Set JAVA HOME on Mac 2022

  Рет қаралды 10,273

Prashant Rana

Prashant Rana

Жыл бұрын

In this Video I Show You How to install Java JDK Java Development Kit on Mac OS.
In Mac OS 2022 and How We can Set JAVA_HOME Path. As we are going to download the Java 17 Version which is Currently the Latest Stable Version.
Commands to Verify on Your MacOS Machine =
Check Java - javac -version
Check SHELL - echo $SHELL
Check Java Path - /usr/libexec/java_home
Java Path = /Library/Java/JavaVirtualMachines/jdk-17.0.4.1.jdk/Contents/Home
JDK Download Windows = www.oracle.com/java/technolog...
JDK Download MacOS = www.oracle.com/java/technolog...
#java #jdk

Пікірлер: 36
@sudiptasaha8905
@sudiptasaha8905 Жыл бұрын
thank you. its really helpful especially when you are a new mac user.
@swatijain4107
@swatijain4107 Жыл бұрын
IT IS SO HELPFUL, THANK YOU
@mohitjain2460
@mohitjain2460 Жыл бұрын
Found it very helpful..Thanks
@Jay_Bariya
@Jay_Bariya Жыл бұрын
Thanks mate you helped a alot☺️🤙🏻
@dhruvvatsa8456
@dhruvvatsa8456 Жыл бұрын
found it very useful!!
@venkateshvenky2880
@venkateshvenky2880 3 ай бұрын
Great explanation, crisp and clear.
@karmatool
@karmatool 3 ай бұрын
Thank You. I use this route couse my version is different. JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home ☺
@iamankitpuri
@iamankitpuri Жыл бұрын
Helpful👍
@kspj69
@kspj69 4 ай бұрын
I am really so greatful and thankful for this video. God bless you!
@JaimeEsqueda-te3ey
@JaimeEsqueda-te3ey 2 ай бұрын
thank you!
@ashish_more
@ashish_more Жыл бұрын
very useful , learnt how to setup environment variables , like for windows , It is a direct app to set environment variables , here we have to use the terminal
@gunasekharc7507
@gunasekharc7507 Жыл бұрын
Bro I am using java+tomcat+postgresql so I needed to install the java and java home jre home done then I have to catilana home for tomcat with one variable name multiple values how to do that?
@ShrutiUpadhye
@ShrutiUpadhye Жыл бұрын
Hi! this video is great! Need help with installing this...
@prashantrana546
@prashantrana546 Жыл бұрын
How can I help you?
@sayrasadia2212
@sayrasadia2212 4 ай бұрын
It is not showing on my terminal it is showing error in argument
@AsAmMehediHasan
@AsAmMehediHasan Жыл бұрын
I performed same step in zsh terminal in air m2. But its echo $JAVA_HOME is returning blank row
@prashantrana546
@prashantrana546 Жыл бұрын
After performing the same steps and installing the jdk, have you closed/exited the current session of terminal. And if yes please check with this command java -version
@akashtahal
@akashtahal Жыл бұрын
Is it required to set Home Path after installing JDK???
@prashantrana546
@prashantrana546 Жыл бұрын
Yes for some applications if you're working with Maven, Gradle Tomcat, But with IDE working on Core Java not required to set path.
@viveksuryavanshi6165
@viveksuryavanshi6165 Жыл бұрын
I performed same steps in bashprofile.. but its echo $JAVA_HOME is returning blank row. pls help
@viveksuryavanshi6165
@viveksuryavanshi6165 Жыл бұрын
Hi, I had checked the default terminal.. so my was zsh.. but was creating bash profile. Now it worked.. but 1 query.. how to delete the .bashprofile earlier that i created to not run into any issues
@prashantrana546
@prashantrana546 Жыл бұрын
To Delete the Bash Profile File just go to the Directory, and Run this Command to Del any File. Command to Del - rm rf .bashprofile(FileName)
@swatijain4107
@swatijain4107 Жыл бұрын
please help me for applet code in java , applet code is not working on vs code application how to do it, please make a video on Mac m1 how to fix the problem
@prashantrana546
@prashantrana546 Жыл бұрын
What was the Issue you are facing, And have you tried Running Applet Code in Eclipse IDE.
@swatijain4107
@swatijain4107 Жыл бұрын
@@prashantrana546 NO
@swatijain4107
@swatijain4107 Жыл бұрын
should I try code in eclipse IDE MEANS IntelliJ IDEA
@swatijain4107
@swatijain4107 Жыл бұрын
Applet in java.applet has been deprecated and marked for removal public class Button_demo extends Applet ^ THIS ISSUE I'M FACING
@swatijain4107
@swatijain4107 Жыл бұрын
applet code works on IntelliJ IDEA
@pareshpatil8679
@pareshpatil8679 Жыл бұрын
why do you use jdk 17 ... why not jdk 1.8 ??
@prashantrana546
@prashantrana546 Жыл бұрын
I Required JDK 17, It's all upto you and according to requirements, Nevertheless you can install JDK 1.8 and Installation, Config Steps would be same.
@kavitakhatavkar
@kavitakhatavkar Жыл бұрын
touch ~/.zshenv not working what should be done?
@prashantrana546
@prashantrana546 Жыл бұрын
If it' not working then create using these steps - 1. vi .zshenv 2. New File will be opened, Shift I(Alphabet i) to insert and then export your jdk path. 3. Press Esc button and then :wq! to Save and quit, you will see your env file will be created.
@niks5153
@niks5153 Жыл бұрын
touch ~/.zshenv not running
@prashantrana546
@prashantrana546 Жыл бұрын
Can you use cat command or vi/vim command to directly create the zshenv file and the save the same with :wq! Also if you got any error with zsh command not found - I have specifically made a video on that topic
How To Download & Install Java 17 on Mac
2:51
The Breakdown
Рет қаралды 75 М.
BİLGİSAYAR SAVAŞLARI: WINDOWS MU MACBOOK MU?
15:45
Can Deger
Рет қаралды 152 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 14 МЛН
Llegó al techo 😱
00:37
Juan De Dios Pantoja
Рет қаралды 51 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
Scary Teacher 3D Nick Troll Squid Game in Brush Teeth White or Black Challenge #shorts
00:47
How to Install Java on Mac | Install Java JDK on macOS (2024)
16:48
ProgrammingKnowledge
Рет қаралды 101 М.
How to Install MySQL 8.0.30 on MAC OS M1/M2
9:35
Prashant Rana
Рет қаралды 19 М.
How to Install Java JDK on Mac OS and set JAVA HOME variable
13:58
Automation Step by Step
Рет қаралды 22 М.
How To Install Java On MAC M2 | M1 | MACBook Pro
12:36
Mukesh otwani
Рет қаралды 37 М.
How to Install Apache Tomcat on Mac OS M1/M2 2022
9:51
Prashant Rana
Рет қаралды 33 М.
Install Eclipse IDE on MacOS M1/M2 2022 | Run First Java Program
6:10
How To Uninstall Java On MAC M2| M1| Or Any Other Version
6:07
Mukesh otwani
Рет қаралды 11 М.
One Little Mistake That Shortens Life of Your MacBook...
11:43
Arthur Winer
Рет қаралды 622 М.
How to Run Java in Sublime Text on Mac OS 2021
10:36
Tech_VJ
Рет қаралды 4,4 М.
How install java in Mac OS in Hindi | mac book | m1
13:32
Code Step By Step
Рет қаралды 6 М.
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 14 МЛН