Title: Why do I get the error java.lang.NoClassDefFoundError: com/iscobol/rts_n/StopRunException?

Question:

When I run my program I get the following error:

Exception in thread "main" java.lang.NoClassDefFoundError: com/iscobol/rts_n/StopRunException (wrong name: This_object_is_not_compatible_with_current_isCOBOL_framework_version_recompile_required)

Why do I get this error and what can I do about it?

Answer:

This error means that one of your COBOL programs was compiled with isCOBOL version 2009 SP1 or earlier using the -cp compile option, and you are attempting to execute it with an isCOBOL Runtime Framework version 2009 SP2 or later.

To correct this problem, recompile your programs with isCOBOL 2009 SP2 or later.

To help identify which program is causing this error you can run the following command from the directory containing your objects (i.e. .class files):

iscrun -info * | more

Authored by: Veryant Support on Tue, Aug 24th, 2010 at 7:00 PM
This question has been viewed 7155 times so far.
Online URL: http://support.veryant.com/support/phpkb/question.php?ID=146

Powered by PHPKB Knowledge Base Software