'java' related error in gui guider

Showing results for 
Show  only  | Search instead for 
Did you mean: 

'java' related error in gui guider

Contributor II

when i am trying to generate code in GUI Guider so that time it is show error : " 'java' is not recognized as an internal or external command, operable program or batch file" so how do i solve this error



0 Kudos
1 Reply

NXP Employee
NXP Employee

Hi @Hiren_Ratnani ,

JRE is not found on your host, the JRE install steps are documented in the User Guide, I copy the content here for reference.

2.3.1 Install Java Runtime Environment

If your computer does not have JRE installed, perform the following steps:

  1. Get the OpenJDK source package from http://jdk.java.net/archive/.
  2. Extract the zip file into a folder, for example, C:\Program Files\Java\. The extraction creates a jdk-16 folder with a sub folder named bin. However, you may require administrator privileges to extract the zip file to the location.
  3. Set the PATH environment variable.
    1. Select Control Panel.
    2. Click System.
    3. Select Advanced system settings.
    4. Click the Advanced tab.
    5. Click the Environment Variables button. The Environment Variables dialog box appears.
    6. Locate the PATH variable.
    7. Click the Edit button.
    8. Click the New button.
    9. Add the location of the bin folder of the JDK installation.
  1. Set a new system variable PATH as JAVA_HOME:
    1. Under the System variables, click New. The New System Variable dialog box appears.
    2. Enter the Variable name as JAVA_HOME.
    3. Enter the Variable value as the installation path of the JDK (without the bin subfolder). For example:
    4. To save the changes, click the OK button.
    5. To close the Environment Variables dialog box, click the OK button.

When above setup is done, you can open the command prompt and type java -version to verify the installation.

0 Kudos