X

Help Articles are product support tips and information straight from the NV5 Geospatial Technical Support team developed to help you use our products to their fullest potential.



7787 Rate this article:
2.0

{VM_SERVER_DIR} error when attempting to start IDL 8.2 Workbench or ENVI+IDL 5.0 on Windows

A few customers have reported a problem with running IDL Workbench or ENVI+IDL on Windows. When the problem occurs, the following error message is encountered:

A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available
in order to run Envi_idl. No Java virtual machine was found after searching the following
locations: {VM_SERVER_DIR} in your current PATH

The following steps may fix the problem (Administrative privileges are required):

1.) Using Windows Explorer, browse to the following directory of your IDL installation (depending upon the bit-version of ENVI/IDL you have installed or are using):

(64-bit ENVI 5.0/IDL 8.2 - default location)
    C:\Program Files\Exelis\IDL82\bin\bin.x86_64\

(32-bit ENVI 5.0/IDL 8.2 - default location)
    C:\Program Files\Exelis\IDL82\bin\bin.x86\

From this location, create a backup copy of the file

    idlde.ini

--for example, calling the backup file "idlde.ini.orig".

2.) Launch a plain text editor with administrative privileges ("Run as Administrator" on recent versions of Windows) to edit the "idlde.ini" file mentioned in step #1.

3.) Make the following change to the "idlde.ini" file:

a.) On the line 2 of the file, there should be a line with the string:

    {VM_SERVER_DIR}

b.) Replace this line with the path to the:

    [drive]:[install-dir-path]\IDL82\bin\bin.[platform]\jre\bin

subdirectory of your ENVI/IDL installation. For example, for 64-bit ENVI 5.0/IDL 8.2 in the default directory:

    C:\Program Files\Exelis\IDL82\bin\bin.x86_64\jre\bin

For 32-bit ENVI 5.0 /IDL 8.2:

    C:\Program Files\Exelis\IDL82\bin\bin.x86\jre\bin

After the change first four lines in your "idlde.ini" file would might look like this (for example, 64-bit ENVI or IDL):

    -vm
    C:\Program Files\Exelis\IDL82\bin\bin.x86_64\jre\bin
    -startup
    plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar

c.) Save the change to "idlde.ini".

After making this change, ENVI+IDL and IDL should launch without the error.

 

[ Reference CRID 66817 and 66990 ]

 

Please login or register to post comments.
Featured

End-of-Life Policy Enforcement for ENVI 5.3 / IDL 8.5 and Earlier Versions

5/6/2024

April 1, 2024 Dear ENVI/IDL Customer,  We are reaching out to notify you of our supported... more »

How to Upgrade licenses to ENVI 6.x / IDL 9.x

12/5/2023

What is the new Upgrade function? Starting with ENVI 6.0 and IDL 9.0, we have implemented an... more »

What to do if the 'License Administrator - License Server' for the Next-Generation License Server does not start?

6/13/2023

Background: With the release of ENVI 5.7 & IDL 8.9 and the corresponding Next-Generation licensing... more »

Next-Generation Licensing FAQ

4/28/2023

  NV5 Geospatial has adopted a new licensing technology for all future releases of our ENVI, IDL... more »

The IDL Virtual Machine

6/6/2013

What is the IDL Virtual Machine? An IDL Virtual Machine is a runtime version of IDL that can... more »