ENVI+IDL Java Error Code 13

PROBLEM:

When a user launches ENVI+IDL, he/she receives code 13 error and the application exits.

envi_error_13

SOLUTION:

To fix this issue, please follow these steps:

  1. Locate your Java installation folder. For example, the paths for Java 8 Update 151 should be the following for Java 32-bit version C:\Program Files (x86)\Java\jre1.8.0_151\bin and Java 64-bit version C:\Program Files\Java\jre1.8.0_151\bin

  2. Locate the shortcuts for ENVI+IDL programs (both 32 and 64-bit)

  3. For each shortcut, add the flag –vm in the target file and within double quotes “”, add the Java path. For example:
-vm "C:\Program Files (x86)\Java\jre1.8.0_151\bin"
  1. Launch your application now. You should be able to use ENVI successfully.

CAUSE:

ENVI+IDL is known for having an issue with Java when launching it on a Desktop. The fix is to force ENVI+IDL to launch a Java virtual machine (JVM) then start the IDL component.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.