How to install Java JDK 8 9 with JAVA_HOME on macOS Mac OS X

preview_player
Показать описание
How to install Java JDK 8 9 with export JAVA_HOME on macOS Mac OS X Apple MacBook Pro
Sierra,Mojave
.bash_profile
export JAVA_HOME=$(/usr/libexec/java_home)

Please Like this Page to get Latest Python, Machine Learning and Artificial intelligence Tutorials
Рекомендации по теме
Комментарии
Автор

Thanks! This seems like a more dynamic way to set the home to reflect the current version installed. I went from 8 to 9 and had some annoying prompts each time I opened the terminal.

DrZiggyzoo
Автор

FINNALY THANK YOU MUCH I WAS GETTING SO MAD

pocholomallari
Автор

How did you delete the spaces between the = after you saved it the first time. When I try to delete nothing happens

kylebennet
Автор

hello, I have installed java 11 and want to replace it with java 8.
I have installed jdk8 too, but its only showing 11 as the ​version.
can you help me??

abhijitmahapatra
Автор

after that what next?
where can I find java

portalgamers
Автор

I'm getting after cmd "vim .bash_profile", unable to type anything and getting "".bash_profile" [New File]" at the end of the page. Please help..!!

davindersingh
Автор

warning warning warning red flag red flag please don't add a space when you are setting the path thank god a I watched this video till the end if you had add a space you're going to screw everything up and you will keep getting a weird error each time you open terminal

dantewhite