Privileged access management
Curity Identity Server
Configure the JAVA_HOME and PATH environment variables
1 min
you must correctly configure the java home and path environment variables to locate the installed jdk (java development kit) on your system and to enable java applications and tools this section shows how to set the java home environment variable and update the system path variable on linux to ensure proper compatibility between java sunpkcs11 and the {{futurex}} pkcs11 module, you must use oracle java and not openjdk oracle java 11, 17, and 21 are currently supported linux perform the following steps to configure the java home variable in linux determine the installation path of oracle java find the path for the oracle java installation, such as /usr/lib/jvm/ use the following command to list the installed jdks ls /usr/lib/jvm/ for example, if you installed oracle java 11, the path is likely /usr/lib/jvm/jdk 11 oracle x64 edit the profile file open a terminal and use a text editor to edit the /etc/profile file, which the system uses when users log in you might need superuser privileges to edit this file sudo nano /etc/profile add the java home and update path add the following lines to the end of the /etc/profile file, replacing the path with the actual path to your oracle java installation export java home=/usr/lib/jvm/jdk 11 oracle x64 export path=$java home/bin $path apply the changes after saving the file, apply the changes by sourcing the profile file source /etc/profile verify the configuration to ensure that the java home variable is set correctly and the path is updated, you can check their values with the following commands echo $java home echo $path you should see the path you set for java home and ensure $java home/bin is part of the path