IBM Support

Execute Mapping fails with javac.main exception

Technote (troubleshooting)


Following error message is encountered on execution of mapping
Exception in thread "main" java.lang.noClassDefFoundError:

Resolving the problem

You must have IBM JavaT SDK 5.0 Service Release 5 currently installed and in your system path

Veirfy if javac is accessible on the path where ITIC is installed using steps stated below
1. Go to your IntegrationComposer Bin folder .Example
(C:\Program Files\IBM\Java50\bin>cd C:\Integration Composer 7_2_2\bin)

2. Invoke init.bat
( C:\Integration Composer 7_2_2\bin>init)

3. Check JAVA_HOME
C:\Integration Composer 7_2_2\bin>echo %JAVA_HOME%
C:\Program Files\IBM\Java50

This should match what is specified in init.bat and also the path where IBM JAVA sdk is
4. Check PATH variable to see java is in the path
echo %PATH%
C:\Integration Composer 7_2_2\bin>echo %PATH%
C:\Program Files\IBM\Java50\bin;C:\Integration Composer

5. Invoke javac to verify javac is accessible
C:\Integration Composer 7_2_2\bin>javac

Document information

More support for: Tivoli Integration Composer

Software version: 6.2.7, 6.2.8, 7.1.2, 7.2, 7.2.1, 7.5, All Versions

Operating system(s): Linux, Windows

Software edition: Edition Independent

Reference #: 1589666

Modified date: 2016-03-03