It depends a bit on which version of macOS you are running, but on recent versions (Catalina and newer), add this line to your shell profile: export JAVA_HOME=$(/usr/libexec/java_home) For example, on Catalina or Big Sur I would the above line at the end of the .zshrc file (in the HOME folder).
@@AtoZProgrammingTutorials tnx, I had to move the downloaded archive to Library/Java/JVM and extract it there, moving an extracted folder was impossible,
Am si o versiune text a tutorialului, poate e mai usor sa folosesti versiunea text: solarianprogrammer.com/2018/09/28/installing-openjdk-macos/. Daca imi spui ce eroare/probleme ai pot incerca sa te ghidez.
tysm man, I've been watching videos for about an hour now and have finally come to the right one
Am impresia ca acest tutorial este facut de un roman :)
Impresie corecta :)
Thank you for this
THANK YOU SO MUCH I LEGIT COULDNT GET THIS DUMB PROBLEM FIXED
THIS FINALLY WORKED THANK YOU SO MUCH
Muchas gracias! Has sido el unico que conseguì ayudarme!!
THANK YOU !!
Thank you!
Awesome
Do you know how to set JAVA_HOME?
It depends a bit on which version of macOS you are running, but on recent versions (Catalina and newer), add this line to your shell profile:
export JAVA_HOME=$(/usr/libexec/java_home)
For example, on Catalina or Big Sur I would the above line at the end of the .zshrc file (in the HOME folder).
@@AtoZProgrammingTutorials thank you so much
What password did you use there at 2:31?
My user password.
@@AtoZProgrammingTutorials tnx, I had to move the downloaded archive to Library/Java/JVM and extract it there, moving an extracted folder was impossible,
Bonjour pouvez vous me dire comment je ouvre la fenêtre pour donner les commandes svp. Merci
Try this: go to Launchpad -> Others -> Terminal. Another possibility is to press Command+Space and write Terminal in the search box that appears.
Îmi apare ca fiind instalez dar nu pot sa îl folosesc
Am si o versiune text a tutorialului, poate e mai usor sa folosesti versiunea text: solarianprogrammer.com/2018/09/28/installing-openjdk-macos/. Daca imi spui ce eroare/probleme ai pot incerca sa te ghidez.
AtoZ Programming Tutorials mulțumesc mult ,revin cu update
@@AtoZProgrammingTutorials cum pot sa iti trimt un screenshot ?
@@Adrian-bl5tv Pe siteul meu (solarianprogrammer.com) du-te la pagina de Contact si o sa gasesti o adresa de mail la care poti trimite screenshotul.
Tot nu ma descurc :))