Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to set Java Path and install Java in Mac OS via terminal

Download from below link

https://jdk.java.net/archive/

11.0.2 (build 11.0.2+9)
Windows64-bitzip (sha256) 179 MB
Mac64-bittar.gz (sha256) 174 MB
Linux64-bittar.gz (sha256) 179 MB
SourceTags are jdk-11.0.2+9, jdk-11.0.2-ga

Step 1:

export PATH=$PATH:/Users/jami/Documents/java/jdk-11.0.2.jdk/bin

Step 2:

export JAVA_HOME=/Users/jami/Documents/java/jdk-11.0.2.jdk

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x