Java installation will only be required when using Java based projects. |
(Note: JDK installation and Setting JAVA_HOME and PATH is not part of QAS and is not included as under basic QAS support services. These are just guidelines for customers to achieve these settings.)
1. Install the JDK software.
Select the appropriate JDK software (Java 14, 11 or 8) and click Download.
The JDK software is installed on your computer, for example, at C:\Program Files\Java\jdk1.8.0_231.
2. Set JAVA_HOME:
Right-click on My Computer and select Properties.
On the Advanced tab, select Environment Variables.
3. Update PATH
%JAVA_HOME%\bin
[Reference: https://docs.oracle.com/cd/E19182-01/820-7851/inst_cli_jdk_javahome_t/ ]
4. Open terminal and type java -version . The output should look like :
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
1. Install the JDK software.
Select the appropriate JDK software (Java 14, 11 or 8) and click Download.
2. You can check Java Installed Path by typing which java on new terminal. It should show something like /usr/bin/java
3. Set Java variables on bash_profile.
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_241.jdk/Contents/Home PATH="$JAVA_HOME:${PATH}" |
4. Save changes by typing ctrl +o and hit return to save. Exit editor by typing ctrl+x
5. Activate the changes made to using command source .bash_profile
6. Open terminal and type java -version . The output should look like :
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)