JAI Classdeffnotfound Error when adding a picture

I get the following error when using the sample given in Picture Frame|Aspose.Slides Documentation
I have the latest JAI jar added to my classpath.

java.lang.NoClassDefFoundError: javax/media/jai/RenderedImageAdapter
at ASPOSEPPTCreator.generate(ASPOSEPPTCreator.java:71)
at PPTTestCase.generatePPT(PPTTestCase.java:28)
at PPTTestCase.runTest(PPTTestCase.java:39)
at junit.framework.TestCase.runBare(TestCase.java:130)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:120)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestDecorator.run(TestDecorator.java:30)
at com.clarkware.junitperf.TimedTest.runUntilTestCompletion(TimedTest.java:154)
at com.clarkware.junitperf.TimedTest.run(TimedTest.java:138)
at junit.framework.TestSuite.runTest(TestSuite.java:230)
at junit.framework.TestSuite.run(TestSuite.java:225)
at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:128)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

Check again if JAI and JAI-ImageIO are in the classpath because they are simply not found.
There are should be 5 jars:
clibwrapper_jiio.jar
jai_codec.jar
jai_core.jar
jai_imageio.jar
mlibwrapper_jai.jar

Hi Alexey,

Thanks for your quick response. Looks like I missed installing JAI-ImageIO.