How to install Java on MacOS in less than 4 mins | 2023

  Рет қаралды 127,110

Code Bear

Code Bear

Жыл бұрын

Discover the process of installing Java on MacOS, including both Intel and Apple Mac M1 devices, in under 4 minutes by following the steps in this instructional video. Throughout the video, you will learn a novel method for configuring the JAVA_HOME variable in the terminal, ensuring that it always points to the latest Java version's home directory even after future upgrades. To ensure that you don't miss any critical information, be sure to watch the entire video, which is brief and should be easily completed.
#java #mac #macos #coding #learncoding

Пікірлер: 85
@amaoagou1060
@amaoagou1060 10 ай бұрын
Very helpful to walk through Java installation and configuration, especially for beginners. Thank you so much
@abstaina_
@abstaina_ 11 ай бұрын
Thank you very much brother and this is simple and straight to the point...Keep Doing more of this. CHEERS 👍
@calebsatsi
@calebsatsi Жыл бұрын
Thank You, Bro. With your tutorial, I can now Install Java. Thanks!
@TheDUBSpeedArts
@TheDUBSpeedArts 7 ай бұрын
FYI: Z-shell (zsh) is only used by default on macOS 10.15 Catalina and newer. If your operating system is macOS 10.14 Mojave or older, you are using Bourne-Again shell (bash). When the video asks you to edit "~/.zshenv", replace it with "~/.bash_profile".
@J666J
@J666J 10 ай бұрын
thank you. wish everyone did it like this, easy and straight to the point.
@robertjr8205
@robertjr8205 3 ай бұрын
Yea i hate when there’s videos who try to extend the time as much as they possibly can
@user-px2sz9kb4o
@user-px2sz9kb4o 5 ай бұрын
Very helpful!THanks!
@michaelfanning5103
@michaelfanning5103 Ай бұрын
Thank you so much you made it very easy to understand
@yaffawijaya
@yaffawijaya 11 ай бұрын
Thank you bro for the tutorial
@LEE-yeah-EUN
@LEE-yeah-EUN 4 ай бұрын
Thankyou very much. actually I have some errors on Java install so I literally spend more than 3h for solving this problem. thank U. When I saw "hello world" I literally felt like crying.
@ananyasarkar884
@ananyasarkar884 9 ай бұрын
FYI -> If someones facing issue while trying to source the ~/.zshenv file then just follow each step mentioned in the video with ~/.zshrc . This might help.
@aaravjain6916
@aaravjain6916 5 ай бұрын
Thanks a lot I wasted a lot of time to figure out and then found this comment really thanks a lot!!!🙂
@ogzumhan8619
@ogzumhan8619 5 ай бұрын
thanks my men I needed it for Minecraft ;)
@nzonkagaming
@nzonkagaming Ай бұрын
I opened the terminal and wrote Java -version, and I get an error prompt telling me I need to install a JDK. I’m pretty sure I installed one.
@mohamedsalmanparies
@mohamedsalmanparies Жыл бұрын
Thanks 🙏 for your help bro . Please make a video for how to download R in vs code 🙏✨
@ezzeddinihabalnajjar7483
@ezzeddinihabalnajjar7483 6 ай бұрын
How did you move from source code back to the terminal
@qarampage8056
@qarampage8056 Жыл бұрын
How to install 1.8 and any higher version 11 or 19 to co exist on Sam emac machine ??
@sthenis5237
@sthenis5237 9 ай бұрын
THANK YOU VERY VERY VERY VERY MUCHH!!!!!!!
@EminorEntertainment
@EminorEntertainment 11 ай бұрын
Please help, I am trying to install java 8 but it isn't showing up in the terminal after installing
@sore4163
@sore4163 2 ай бұрын
Thank you so much
@xXtoxicdisguiseXx
@xXtoxicdisguiseXx 6 ай бұрын
how do i change the standard installation to my external hard drive ? i press back but it doesn’t let me
@user-yo7ne8pp4z
@user-yo7ne8pp4z 10 ай бұрын
how to check macbook m1 or m2
@ashathakur7561
@ashathakur7561 Жыл бұрын
To the point
@preetfrompunjab_
@preetfrompunjab_ Ай бұрын
thank you sir
@user-lb4kw3oj3k
@user-lb4kw3oj3k Жыл бұрын
what is zshenv file, can i tried to use other file name but it didn't work
@thepotatoofheaven
@thepotatoofheaven 5 ай бұрын
when i install the microsoft or oracle java extension it gives me an error log when i try to run a java file
@semanurgokce7515
@semanurgokce7515 7 ай бұрын
Can i follow your steps even though i want to install jdk 17?
@MeiyarasuS
@MeiyarasuS Жыл бұрын
I need to change my java version 1.8 to 11. Can I delete the old java and reinstall or follow these steps as per this video ? Anyone 🙏🏽
@Rose-oj2rl
@Rose-oj2rl Жыл бұрын
Bro ,i type touch but it came touch is illegal
@reachanubhavmohandas
@reachanubhavmohandas 10 ай бұрын
/Users/anubhav/.zshrc:1: parse error near `JAVA_HOME=$(/usr/lib...' I am getting this error, anyone know, how to clear this issue.
@Cryptye-yy7mi
@Cryptye-yy7mi 10 ай бұрын
when i do java --version, i get this error: zsh: killed java --version
@nidhinegi357
@nidhinegi357 Жыл бұрын
Hi do you provide Java one on one online coaching ??
@adaywithme7518
@adaywithme7518 10 ай бұрын
Hi do you find it on the computer?
@tomtakespictures
@tomtakespictures 4 күн бұрын
no copy/paste for the terminal entries?
@sakshamnanda7856
@sakshamnanda7856 Жыл бұрын
Thanks !
@anmolqueen4531
@anmolqueen4531 7 ай бұрын
My terminal has stopped on hello.java and can't be reset. I need instructions on how to overcome this
@esmail_elkablawy
@esmail_elkablawy 2 ай бұрын
thank u my friend
@Tom-yy4pf
@Tom-yy4pf 3 ай бұрын
How can I save at 3:04???
@leslieheinen3459
@leslieheinen3459 11 ай бұрын
at 3:58, what program are you using to create the HELLO java file?
@thecodebear
@thecodebear 11 ай бұрын
That is vim
@leslieheinen3459
@leslieheinen3459 11 ай бұрын
@@thecodebear In which directory do I save "vim hello.java" file?
@thecodebear
@thecodebear 11 ай бұрын
@leslieheinen3459 that will be your project folder , when you write vim hello.java, it will create a file named hello.java in your current working directory i.e the directory which is opened in your terminal.
@erdemrey4873
@erdemrey4873 10 ай бұрын
after save it how can I go to the terminal?
@aestheticniqabi11
@aestheticniqabi11 10 ай бұрын
Exactly my question ?
@ethanbundoc3534
@ethanbundoc3534 6 ай бұрын
finally figured it out. if there is "insert" printed at the bottom press escape. then you can save and quit using :wq it was so frustrating bc I just wanted to test a piece of code. had to literally reset my entire computer and uninstall and reinstall everything. for just something so small.
@graychen3182
@graychen3182 6 ай бұрын
Hi, I followed your steps to the text "export" part and saved the file, but after I pressed enter, it says /Users/rain/.zshenv:1: no such file or directory: usr/libexex/java_home rain@Rains-MacBook-Pro ~ % . What did I do wrong? Any help would be appreciated.
@ruturajchintawar4649
@ruturajchintawar4649 6 ай бұрын
Just go to this path usr/libexex/java_home and make sure every ting is correct
@ruturajchintawar4649
@ruturajchintawar4649 6 ай бұрын
Mine had some spelling mistakes
@krishnasai-wk8og
@krishnasai-wk8og 11 ай бұрын
hey hi code Bear; try to mansion the commands that you use on the keyboard that allowed you to exit the nano mode when you entered into the vim (first click esc then click shift ; and then write qw so it will bring you out from the nano mode) I tool almost 30M to figure out this.
@stuntxbl7227
@stuntxbl7227 11 ай бұрын
im on apple m2 pro does this still work?
@katenelson9067
@katenelson9067 17 күн бұрын
no
@anmolqueen4531
@anmolqueen4531 7 ай бұрын
After typing vim hello.java new wasn't opend.
@intanidamayanti7474
@intanidamayanti7474 2 ай бұрын
akkk thankyou
@savitrirambhad5489
@savitrirambhad5489 Жыл бұрын
Thank you
@sayrasadia2212
@sayrasadia2212 4 ай бұрын
It is not appearing on the terminal
@ThatOneAsianEating
@ThatOneAsianEating 9 ай бұрын
how do I save it at 4:02 ?
@teifm2003
@teifm2003 9 ай бұрын
?
@ozq777
@ozq777 9 ай бұрын
Can we do this for m2 pro too?
@raseel8438
@raseel8438 6 ай бұрын
Is it work ? Or we should change
@Nooblesblitz
@Nooblesblitz Жыл бұрын
How do i save the .zshenv file This didnt work, ive spent two days trying and it still doesnt work. Mac sucks ass.
@jaituetonpapa5781
@jaituetonpapa5781 Жыл бұрын
Clique sur modifier dans le truc ou tu l’écris sauvegarde le dans l’espace avec ton nom d’utilisateur en vérifiant qu’il s’appelle bien .zshenv
@JonathanA-lj8qr
@JonathanA-lj8qr Жыл бұрын
CMD + S
@doruk7125
@doruk7125 Жыл бұрын
what about M2? arm 64 dmg installer?
@MeiyarasuS
@MeiyarasuS Жыл бұрын
Can you reply this anyone ? Am also using Air M2
@abstaina_
@abstaina_ 11 ай бұрын
it is the same procedure in the Video. I used M2 and it worked
@saibalaji5418
@saibalaji5418 Жыл бұрын
how can i know if i am a m1 user or intel
@fckngislife
@fckngislife Жыл бұрын
M1 is MacBook from apple bro
@hiimunranked8663
@hiimunranked8663 3 ай бұрын
not working after source command
@Sai-im9so
@Sai-im9so 11 ай бұрын
Can you make a video on how to delete this version of java?
@dr333dAa
@dr333dAa 6 ай бұрын
what password should i write 1:38
@TigerzzGamingg
@TigerzzGamingg 8 ай бұрын
how do u save the file 🤔
@I_mvishal
@I_mvishal 7 ай бұрын
command +s
@TigerzzGamingg
@TigerzzGamingg 7 ай бұрын
ty @@I_mvishal
@gabrielantoniofelisbino6512
@gabrielantoniofelisbino6512 8 ай бұрын
I did everything step by step and it didn't work😔
@samsiepuff2183
@samsiepuff2183 Жыл бұрын
How to save file ….
@pavithrathangavel507
@pavithrathangavel507 Жыл бұрын
Command + s on keyboard
@TTE_MEEQ
@TTE_MEEQ 11 ай бұрын
But then what?
How to Install Java on Mac | Install Java JDK on macOS (2024)
16:48
ProgrammingKnowledge
Рет қаралды 101 М.
How To Install Java On MAC M2 | M1 | MACBook Pro
12:36
Mukesh otwani
Рет қаралды 37 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 12 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,3 МЛН
Clowns abuse children#Short #Officer Rabbit #angel
00:51
兔子警官
Рет қаралды 76 МЛН
Setting up M2 MacBook Air For Programming
16:28
Andres Vidoza
Рет қаралды 1,1 МЛН
MacOS java kaldırma
2:03
Teknik Destek
Рет қаралды 1 М.
How to Install Java JDK on Mac OS and set JAVA HOME variable
13:58
Automation Step by Step
Рет қаралды 22 М.
Code Like a Pro | Setting Up Your MacBook Air M2 for Development in 2023
56:20
How To Uninstall Java On MAC M2| M1| Or Any Other Version
6:07
Mukesh otwani
Рет қаралды 11 М.
How to Run Java in Visual Studio Code on Mac OS 2020
8:01
Tech Decode Tutorials
Рет қаралды 134 М.
Mac Fanboy Tries ARM Windows Laptops
31:40
Snazzy Labs
Рет қаралды 167 М.
Sigma girl and soap bubbles by Secret Vlog
00:37
Secret Vlog
Рет қаралды 12 МЛН