UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 58504

2014.1 Vivado - JAVA Runtime Environment (JRE) is not picked up using MYVIVADO environment variable

Description

I need to test Vivado with a different version of JAVA Runtime Environment (JRE) than the version installed and used in the Vivado tool.

However, I do not want to change the existing installation by replacing the existing JRE.

I have tried to create a separate directory and point to it using the MYVIVADO environment variable, but this does not seem to work.

Solution

The JRE installed with Vivado is located under <Vivado Install>/tps/<platform>/jre.


For example: C:\Xilinx\Vivado\2014.1\tps\win64\jre


Vivado will use the JRE in this directory.


In Vivado 2014.1 and earlier, the JRE in the install directory is loaded before the MYVIVADO variable is checked during software initialization.


In order to use a JRE from another location, you could do the following:

  1. Download the new JRE version to a new Vivado location.
    The JRE will need to be in the same directory structure as it appears in a normal vivado install (for example, C:\test_Vivado_2014_1\tps\win64\jre).

  2. Set the MYVIVADO environment variable to the vivado directory ("C:\test_Vivado_2014_1" in the example above).

  3. Change the following line in the <Vivado Install>/bin/rdiArgs.bat/sh file:

    From:
  4. set RDI_JAVAROOT=%RDI_APPROOT%/tps/%RDI_PLATFORM%/jre

    To:

    set RDI_JAVAROOT=%MYVIVADO%/tps/%RDI_PLATFORM%/jre

Note: This is not an ideal solution as it requires an edit to the install area. 

A request has been made to allow the JRE to be picked up using the MYVIVADO option without any other changes.

This change will apply to all users of this install of Vivado.

A more viable solution might be to have a conditional statement that checks for the existence of %MYVIVADO%/tps/%RDI_PLATFORM%/jre before making the change.

 

This issue has been fixed in Vivado 2014.2.

AR# 58504
Date Created 11/21/2013
Last Updated 06/23/2014
Status Active
Type General Article
Tools
  • Vivado Design Suite - 2013.3
  • Vivado Design Suite - 2013.4
  • Vivado Design Suite - 2014.1