How do I resolve the error: Launching has encountered a problem - An internal error occurred during: "Launching ___". com/iscobol/rts/IscobolClass?

Question ID : 157
Created on 2010-11-09 at 6:23 PM
Author : Veryant Support [support@veryant.com]

Online URL : http://support.veryant.com/support/phpkb/question.php?ID=157



Question:

When I attempt to run my program using a launch configuration named "Run Program1" I get an error box saying:

Problem Occurred
----------------
'Launching Run Program1' has encountered a
problem.

An internal error occurred during: "Launching 
Run Program1"

When I click on "Show Error Log" I see:

An internal error occurred during: "Launching Run Program1".

java.lang.NoClassDefFoundError: com/iscobol/rts/IscobolClass
	at java.lang.ClassLoader.defineClass1(Native Method)
        ...
	at com.iscobol.plugins.editor.launch.IscobolLaunchConfigurationDelegate.doExecute(IscobolLaunchConfigurationDelegate.java:216)

Answer:

This error occurs when the "isCOBOL library" field in the launch configuration Classpath tab is set to an invalid path or filename.

To correct this error, edit the launch configuration and click on the Classpath tab. Set the "isCOBOL library" field to a valid path and file name or clear the field's value to allow the IDE to use the isCOBOL runtime build included with the IDE.

Note that this error often occurs when you import launch configurations that were exported with a different version of the IDE.



Back to Original Question