Question

IFS Report Designer not opening due to Windows cannot find 'java\bin\javaw'

  • 17 December 2021
  • 1 reply
  • 1048 views

Userlevel 2
Badge +6

I have installed IFS Report Designer along with Java however when running IFS Report Designer I get the error:  Windows cannot find 'java\bin\javaw'

 

I am sure it is something simple but cannot see to resolve. 

I have tried re-installing java.

Is it an environment variable I am missing?

Thank you in advance.


This topic has been closed for comments

1 reply

Userlevel 7
Badge +15

Hi,

 

Looks like your Java folder is not in your Windows system path. Do one of the following.

OPTION1

  1. Go to your IFS RD install folder.
  2. Edit the IFSReportDesigner.cmd
  3. Specify the absolute path for javaw.
    • You should have something like START "IFS Report Designer" java\bin\javaw -cp "%~dp0.;%~dp0ifs_report_designer.jar" -Dfndext.configDir="%~dp0." com.ini.vldt.Global
    • Change it to START "IFS Report Designer" <java_path>\javaw -cp "%~dp0.;%~dp0ifs_report_designer.jar" -Dfndext.configDir="%~dp0." com.ini.vldt.Global where the <java_path> is the path to the bin folder of your java location where the javaw.exe is there. e.g. START "IFS Report Designer" C:\java8\bin\javaw -cp "%~dp0.;%~dp0ifs_report_designer.jar" -Dfndext.configDir="%~dp0." com.ini.vldt.Global
  4. Save the file

OPTION2

  1. In Windows go to settings and search for “Environment Variables”
  2. Select  ‘Edit The system Environment Variables”
  3. Click the “Environment Variables” button
  4. In the System Variable” section find the “path” variable and “edit”
  5. Select “New” and add the full path to your java bin folder e.g. C:\java8\bin
  6. Move the new path right to the top using the “Move Up” button.
  7. Click “OK” on all dialogs.

Make sure that you don’t have any spaces in your java path. E.g. C:\My Java Folder\Java 8\bin.

Regards,

Chanaka