Upgrading Java

In this article we will cover updating Java. While Yellowfin does not generally provide in depth support for Java, we can give some general advice to help with your upgrade.

Download your desired Java build

Our current recommendation is the newest version of OpenJDK Zulu 11 distributed by Azul. Which can be found here: https://www.azul.com/downloads/?package=jdk#zulu

Make sure you choose the correct Architecture for your system. Most modern systems are x86 64-bit.
If you want to use JavaFX for exporting Yellowfin PDFs, make sure you pick the JDK+FX version.

  1. After installing Java, browse to your Yellowfin/appserver/bin folder and open catalina.bat for Windows or catalina.sh if you are running on Linux/Mac.
  2. Change the line beginning
    set JRE_HOME=
    to your new Java install folder. For example it might look like
    set JRE_HOME=C:\Program Files\Zulu\zulu-11
  3. Save the file. 
  4. To verify the successful upgrade, start Yellowfin and navigate to http://yourYellowfinURL/info.jsp

If you use Yellowfin as a Windows service, continue below.

Updating the Windows Service

  1. Open Command line as an administrator and navigate to your Yellowfin/appserver/bin folder.
  2. Execute the line:
    service remove yellowfin
  3. Open the service.bat file in Notepad and edit the line beginning
    set JRE_HOME=
    to match your new Java install.
    e.g. set JRE_HOME=C:\Program Files\Zulu\zulu-11
  4. Save the service.bat.
  5. Go back to the command line and execute the line:
    service install yellowfin
  6. Verify again using the method described above.
Is this article helpful?
0 0 0