How to install Java for usage in FootPrints 12.X and 20.X onwards

Version 1
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    FootPrints


    COMPONENT:

    FootPrints


    APPLIES TO:

    FootPrints 12.1.X and 20.X



    PROBLEM:

    This article explains how to download and install an Oracle Java 8 JRE and Open JDK.

    The following information provides guidance related to the issue indicated in the title.

    For help understanding the general concepts, features, and navigation of version 12.1.X and 20.X, consult the product Help system.

    FootPrints 12.1.01 and later requires an Oracle Java 8 JRE and Footprints 20.19.X requires OpenJDK to be installed on the FootPrints application server. 

    IMPORTANT NOTE:
    If you want FootPrints 12.0.01 or later to use AES 256-bit encryption you must configure Java following the instructions in the How to enable AES-256 bit encryption in FootPrints Service Core article before installing FootPrints.

    Additionally, these steps must be performed with full Administrator privileges.


    CAUSE:

    How to install Java for usage in FootPrints Service Core 12.X and 20.X onwards


    SOLUTION:

    Settings for Footprints 12.X up to 20.18.03

       
    1. Download the appropriate JRE for your application server from the Oracle web site here. Download the JRE specific to the operating system on the computer where you will install FootPrints. An Oracle account and login may be needed before being permitted to download the JRE.   The "Product / File Description" will be listed as "Windows x64 Offline", with the file name "jre-8uxxx-windows-x64.exe", the xxx is the version number.
    2.  
    3. Run the JRE installer downloaded from the Oracle web site to install the JRE.
    4.  
    5. To avoid problems with automatic Java updates, Footprints Support recommends changing the default install path from C:\Program Files\Java to C:\Program Files\Java 8
    6.  
    7. Configure the Apache Tomcat installation to point to this installation of Java 8 JRE.
      

    Settings for Footprints 20.19.01 onwards

    Configuring Tomcat 8.5 on windows (Footprints 20.19.01 Fresh installation and upgrade)

       
       
    1. Download OpenJDK from this link. Use the below table to determine which version is compatible with the version of Footprints you are installing or upgrading to :
                                                                                                                                
    FootPrints VersionOpenJDK Version
    Footprints 20.20.01 OpenJDK 12.0.2 or  13.0.2
    FootPrints 20.19.03OpenJDK 12.0.2 or  13.0.2
    FootPrints 20.19.02OpenJDK 12.0.2
    FootPrints 20.19.01OpenJDK 11.0.2
    FootPrints 12.1.x and 20.18.03Java 8 (64-bit) 
      
     Extract it to a location (eg. C:\Program Files\Java\jdk-11.0.2)  
       
    1. Set JAVA_HOME environment variable and add it to the path variable too (make sure in "Path" variable the location is added at the beginning )
    e.g. JAVA_HOME= C:\Program Files\Java\jdk-11.0.2 

    User-added image
    User-added image





    Configuring Tomcat8.5 on Linux (Footprints 20.19.01 Upgrade)
       
       
    1. Download OpenJDK from this link
    2.  
    3. Extract it to a location (e.g. /opt/java/jdk-11.0.2)
    4.  
    5. Set JAVA_HOME environment Linux
       JAVA_HOME="/opt/java/jdk-11.0.2"
    export JAVA_HOME
    export PATH=$PATH:$JAVA_HOME/bin
       
       
    1. Run “echo $JAVA_HOME “ in terminal to confirm if the JAVA_HOME is set to OpenJDK11.0.2 (a restart might be required if not configured)
    2.  
    3. Download Tomat8.5, if already download open location where tomcat8.5 is extracted
    Go in bin folder of tomcat8.5 
    e.g. 
    /opt/apache/ apache-tomcat-8.5.34/bin  
       
    1. Open the setenv.sh file and add a line
       export JAVA_HOME=/opt/java/jdk-11.0.2 
    Tomcat will use OpenJDK11 (doing this will successfully deploy Footprints 20.19.01 after Footprints is installed) 


    Note: (Specifically for Linux upgrade) if Footprints is not started via Tomcat8.5 and the tomcat logs contain error related to cxf 
        Add the following line in setenv.sh , this would be just a workaround and is not recommended by Tomcat, defect   DRZNZ-5551 is logged for the same 
      
    export CATALINA_OPTS="$CATALINA_OPTS -Dorg.apache.cxf.stax.allowInsecureParser=1"

     


    Article Number:

    000201404


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles