Daniel Reetz, the founder of the DIY Book Scanner community, has recently started making videos of prototyping and shop tips. If you are tinkering with a book scanner (or any other project) in your home shop, these tips will come in handy. https://www.youtube.com/channel/UCn0gq8 ... g_8K1nfInQ

Problem with Bookscan - Newcomer

Discussion about Steve DeVore's Book Scan Wizard, a power-user package to automate scan processing.
Post Reply
ano
Posts: 1
Joined: 03 Aug 2014, 10:23
E-book readers owned: Kindle Touch
Number of books owned: 5000
Country: Austria

Problem with Bookscan - Newcomer

Post by ano » 03 Aug 2014, 11:29

Can someone tell me what am I doing wrong?

Trying to run Bookscanwizard, system as follows:
Bookscan 2.02b,
Windows 7,
Java version "1.7.0_01" ( Java(TM) SE Runtime Environment (build 1.7.0_01-b08)
Java HotSpot(TM) 64-Bit Server VM (build 21.1-b02, mixed mode) ).


***bookscanwizard fails to start:

***Running bsw.cmd I get the following (echo changed to on on, only last lines of output):

C:\Program Files\BookScanWizard>java -Xmx8192M -jar bsw\..\BookScanWizard.jar
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/TileCache
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.TileCache
at java.net.URLClassLoader$1.run(Unknown Source)
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)
... 6 more
C:\Program Files\BookScanWizard>


***Trying to get a little more information, I run java with "-verbose": huge output, and the error at the end is like:

......
[Loaded java.awt.image.RenderedImage from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.awt.Dialog from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded javax.swing.JDialog from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded net.sourceforge.bookscanwizard.gui.MetadataGui from file:/C:/Program%20Files/BookScanWizard/BookScanWizard.jar]
[Loaded java.lang.NoSuchMethodException from C:\Program Files\Java\jre7\lib\rt.jar]
Exception in thread "main" [Loaded java.lang.Throwable$PrintStreamOrWriter from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Throwable$WrappedPrintStream from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.util.IdentityHashMap from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.util.IdentityHashMap$KeySet from C:\Program Files\Java\jre7\lib\rt.jar]
java.lang.NoClassDefFoundError: javax/media/jai/TileCache
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at sun.launcher.LauncherHelper.getMainMethod(Unknown Source)
at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source)
[Loaded java.util.Objects from C:\Program Files\Java\jre7\lib\rt.jar]
Caused by: java.lang.ClassNotFoundException: javax.media.jai.TileCache
at java.net.URLClassLoader$1.run(Unknown Source)
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)
... 6 more
[Loaded java.lang.Shutdown from C:\Program Files\Java\jre7\lib\rt.jar]
[Loaded java.lang.Shutdown$Lock from C:\Program Files\Java\jre7\lib\rt.jar]
C:\Program Files\BookScanWizard>

Any suggestion?
Thanks
A.No.

kylefoley76
Posts: 1
Joined: 02 Sep 2014, 22:49
Number of books owned: 0
Country: USA

Re: Problem with Bookscan - Newcomer

Post by kylefoley76 » 03 Sep 2014, 01:25

I'm also having a problem. I use Mac OS 10.6. Java won't lauch. Does Bookscanner work for Mac?

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Problem with Bookscan - Newcomer

Post by steve1066d » 09 Sep 2014, 22:25

Hmm... for some reason I didn't get notified about this thread...

There does seem to be an issue with the latest version. I'll fix it in the next couple of days.

In the meantime, you can use the webstart version:

http://bookscanwizard.sourceforge.net/run/
Steve Devore
BookScanWizard, a flexible book post-processor.

steve1066d
Posts: 296
Joined: 27 Nov 2010, 02:26
E-book readers owned: PRS-505
Number of books owned: 1250
Location: Minneapolis, MN
Contact:

Re: Problem with Bookscan - Newcomer

Post by steve1066d » 12 Sep 2014, 23:56

I updated BSW so it now includes jai and jai-imageio, instead of requiring the user to download them separately when installing manually. (The webstart version is not changing for now).

https://sourceforge.net/projects/booksc ... t/download

This should take care of the NoClassDefFoundError issues.
Steve Devore
BookScanWizard, a flexible book post-processor.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest