Skip to Content

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

Estimated Reading Time: 1 Minutes

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

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

Powered by PHPKB (Knowledge Base Software)