| Bookmark Name | Actions |
|---|
Configuring Java Development Kit
This section shows you how to install Java Development Kit (JDK) on Windows and Linux platform.
Prerequisite
To install TAFJ, you must have a Java Development Kit (JDK) version 1.8.x installed in your system.
Checking the version of installed JDK
Open Console and enter the >java -version command.
>java -version
java version "1.8.0_121"
Java(TM) SE Runtime Environment (build 1.8.0_121-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.121-b13, mixed mode)
It is a bad practice to have your Java Virtual Machine (JVM) in the PATH. It is recommended to remove your JVM from the PATH. The best practice is to set up an environment variable called JAVA_HOME pointing to the root directory of your Java Development Kit (JDK) installation. Then, you can reference JAVA_HOME/bin in your PATH environment variable. The different scripts in TAFJ_HOME/bin will require the environment variable JAVA_HOME.
Setting JAVA_HOME on a Linux Platform
Set the environmental variable using the following command:
export JAVA_HOME=path_to_your_jdk
Setting JAVA_HOME on Windows
Procedure
- Go to Start menu > Settings > Control Panel > System > Advanced > Environment Variables.
- Under System variables click the New… button and enter JAVA_HOME as Variable name and the path to your Java JDK directory under Variable value.
- Click OK.
Add Bookmark
save your best linksView Bookmarks
Visit your best linksIn this topic
Are you sure you want to log-off?