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".
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.
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.
@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.
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.
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.
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.
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".
How did you move from source code back to the terminal
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.
Thanks a lot I wasted a lot of time to figure out and then found this comment really thanks a lot!!!🙂
Thank you it worked
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.
Very helpful to walk through Java installation and configuration, especially for beginners. Thank you so much
at 3:58, what program are you using to create the HELLO java file?
That is vim
@@thecodebear In which directory do I save "vim hello.java" file?
@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.
thank you. This helped me after 2 hours of trying other instructions
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.
Same thing is happening to me rn, you figured it out yet?
just type: java -version
@@quanhoanganh6635it says the same thing
After writing the program press esc (to get back to normal mode)
Thn write :wq and press enter
im on apple m2 pro does this still work?
no
no copy/paste for the terminal entries?
how do I save it at 4:02 ?
?
After writing the program press esc (to get back to normal mode)
Thn write :wq and press enter
what is zshenv file, can i tried to use other file name but it didn't work
not working after source command
how to check macbook m1 or m2
Go to apple logo in corner and click on it then select about mac options then you can see apple chip is m1or m2 and also storage
how do i change the standard installation to my external hard drive ? i press back but it doesn’t let me
when i install the microsoft or oracle java extension it gives me an error log when i try to run a java file
Thanks, it helped. Very clear, concise explanation that was!!
How to install 1.8 and any higher version 11 or 19 to co exist on Sam emac machine ??
Bro ,i type touch but it came touch is illegal
Can i follow your steps even though i want to install jdk 17?
Hi do you find it on the computer?
Please help, I am trying to install java 8 but it isn't showing up in the terminal after installing
My terminal has stopped on hello.java and can't be reset. I need instructions on how to overcome this
what password should i write 1:38
Thank you so much you made it very easy to understand
It is not appearing on the terminal
when i do java --version, i get this error: zsh: killed java --version
How do i save the .zshenv file
This didnt work, ive spent two days trying and it still doesnt work. Mac sucks ass.
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
CMD + S
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.
Just go to this path usr/libexex/java_home and make sure every ting is correct
Mine had some spelling mistakes
after save it how can I go to the terminal?
Exactly my question ?
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.
@@ethanbundoc3534 THANK YOU SO MUCHVIUBU
Hi do you provide Java one on one online coaching ??
Can we do this for m2 pro too?
Is it work ? Or we should change
what about M2? arm 64 dmg installer?
Can you reply this anyone ? Am also using Air M2
it is the same procedure in the Video. I used M2 and it worked
/Users/anubhav/.zshrc:1: parse error near `JAVA_HOME=$(/usr/lib...'
I am getting this error, anyone know, how to clear this issue.
Very helpful!THanks!
thank you. wish everyone did it like this, easy and straight to the point.
Yea i hate when there’s videos who try to extend the time as much as they possibly can
After typing vim hello.java new wasn't opend.
How to save file ….
Command + s on keyboard
But then what?
Exactly I need what to do after saving the file
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.
Thank you very much brother and this is simple and straight to the point...Keep Doing more of this. CHEERS 👍
Thank You, Bro. With your tutorial, I can now Install Java. Thanks!
thanks my men I needed it for Minecraft ;)
how do u save the file 🤔
command +s
ty
@@I_mvishal
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 🙏🏽
how can i know if i am a m1 user or intel
M1 is MacBook from apple bro
Thanks 🙏 for your help bro . Please make a video for how to download R in vs code 🙏✨
I did everything step by step and it didn't work😔
Can you make a video on how to delete this version of java?
Thank you bro for the tutorial
thank you sir
Thank you so much
THANK YOU VERY VERY VERY VERY MUCHH!!!!!!!
thank u my friend
To the point
akkk thankyou
I hate Mac. Going back to windows
Thank you
Thanks !