Page 1 of 1

Rob's standalone dewarper

Posted: 27 Apr 2010, 09:45
by Misty
I'm porting this over to a new thread so it doesn't clog up the monolithic Scan Tailor thread.

Rob, I was trying your standalone dewarper in Windows. It seems to work fine (it produces a correct output PNG as it should), but it spits out a set of exceptions after running. Is this something I should worry about or can do something about?

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/media/jai/codec/FileSeekableStream
        at postprocess.Dewarp.read(Dewarp.java:65)
        at postprocess.Dewarp.main(Dewarp.java:1062)
Caused by: java.lang.ClassNotFoundException: com.sun.media.jai.codec.FileSeekableStream
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        ... 2 more

Re: Rob's standalone dewarper

Posted: 27 Apr 2010, 21:16
by rob
It looks like you need to install the JAI (Java Advanced Imaging) library on your machine. You can download it here.

--Rob