JCF Demo shortcut searching for javaw.exe, after installing CA IDMS Server 17.1
search cancel

JCF Demo shortcut searching for javaw.exe, after installing CA IDMS Server 17.1

book

Article ID: 195073

calendar_today

Updated On:

Products

IDMS

Issue/Introduction

After installing CA IDMS Server 17.1, when trying to start the JCF Demo App, a warning appears saying that the shortcut is searching for javaw.exe.

When launching the JCF Demo App that is delivered with CA IDMS Server 17.1 a warning message appears with the message “Windows is searching for javaw.exe. To locate the file yourself, click Browse.”

 


What steps are needed to start the JCF Demo App?

Cause

Javaw.exe is required to run Java applications on Windows. The error message appears because the path to javaw.exe in the shortcut is incorrect.

Note: You may need administrative privileges to implement some of the approaches described below.

Resolution

The JCF Demo App is a Java application that requires Java 1.8 or later be installed. Use the following steps to confirm that Java 1.8 or later is installed on your computer:

  1. Enter cmd in the Windows Start menu Type here to search
  2. Select Command Prompt or press Enter.
  3. At the command prompt, enter java -version. If Java is installed, the version is displayed. In the following example the Java version is 1.8.0_221-b11.



   4.  If an error occurs when you issue the command, or if the version is older than Java 1.8, install Java 1.8 or later.

Once Java 1.8 or later is installed, you can chose from the following solutions.

Note: Solution 1 is a permanent fix, while solutions 1 and 2 must be repeated each time the JCF Demo App is launched.

 

 

Solution 1 – Define the JAVA_HOME environment variable and reinstall CA IDMS Server 17.1

  1. Define the JAVA_HOME environment variable.
    a.In the Windows Start Menu, enter ENV and select Edit the system environment variables.
    b. Select Environment Variables at the bottom of the window.
    c.
    Examine the User variables and System variables sections for the presence of the JAVA_HOME variable. Because the variable can be defined at both the user and system levels, it can be located in either section.
    -- If the variable is present, verify that the value (path) is accurate, and correct it if necessary.
    -- If the variable is not present, add a new System variable with Variable Name “JAVA_HOME”, and an appropriate value based on the path of the Java installation. For example: C:\Program Files\Java\jdk1.8.0_221

     2. Uninstall CA IDMS Server 17.1 through the Apps & features option. When prompted, do not remove your ODBC data sources.

    3. Reinstall CA IDMS Server 17.1.

 

Solution 2 – Manually browse for javaw.exe

  1. Select the Browse button on the Missing Shortcut dialog box.
  2. Navigate to javaw.exe.
  3. Select javaw.exe, and select Open:


    4.  The JCF Demo App opens.

 

 

 

Solution 3 – Let Windows discover javaw.exe

  1. After the Missing Shortcut dialog box appears, wait while Windows searches for javaw.exe.
  2. Once javaw.exe has been located, select Fix it.

 

      3. The JCF Demo App opens.