Java Installation Instructions
Last updated
Last updated
Download Java from here: https://www.java.com/en/download
Continue with normal installation:
Verify that java is install by opening cmd and typing
java -version
How to set Environment Variables
Click on my computer and open properties
2. Go to advanced system settings
3. Go to environment variables
4. Click on new and name the variable as PATH
5. Find and copy the path that leads to java\jdk\bin
example: c:\Program Files\Java\jdk1.8.0_181\bin
6. Paste the path as the value
Download and install Java: https://www.java.com/en/download/mac_download.jsp
Insure java is installed by typing java -version in the Terminal:
Creating a .bash_profile on your mac
A typical install of OS X won't create a .bash_profile for you. When you want to run functions from your command line, this is a must have.
To set up the environment variables open the Terminal and go to the home folder by using the following command: "cd ~/
Create a new file by typing: touch .bash_profile
Edit .bash_profle by typing: open -e .bash_profile
Type: export JAVA_HOME=$(/usr/libexec/java_home)
Save the file (command + s) and return to the Terminal
Type: source .bash_profile