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

running from my own system not online run

Discussion about Steve DeVore's Book Scan Wizard, a power-user package to automate scan processing.
Post Reply
digitalblade

running from my own system not online run

Post by digitalblade » 24 Apr 2011, 04:21

hi,

I've problem running this java app directly form my own system.


ERROR AFTER STARTING WITH WBS.CMD
--------------------------------------------------------------------------------
Exception in thread "main" java.lang.NoClassDefFoundError: javax/media/jai/JAI
at net.sourceforge.bookscanwizard.BSW.<clinit>(BSW.java:92)
Caused by: java.lang.ClassNotFoundException: javax.media.jai.JAI
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)
... 1 more
Could not find the main class: net.sourceforge.bookscanwizard.BSW. Program will
exit.
--------------------------------------------------------------------------------

someone can help me ?

TIA

this is my configuration for debug purpose:

Code: Select all

My configuration:

1 - Windows 7 64 bit
2 - 8 Gb Ram

BOOK SCAN WIZARD VERSION BookScanWizard_1.2.zip

DIRECTORY TREE:
 BookScanWizard_1.2
         |
         |--bin
         |   |--bsw.cmd
         |   |--BookScanWizard.jar
         |    
         |--lib
            |--jai_imageio_windows-i586.jar
            |--jai_windows-i586.jar
          
JAVA VERSION
--------------------------------------------------------------------------------
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) Client VM (build 19.1-b02, mixed mode, sharing)
--------------------------------------------------------------------------------

ADDITIONAL LIBRARY DOWNLOAD PATH (AS SUGGESTED IN INSTALL.TXT)
--------------------------------------------------------------------------------
http://java.sun.com/products/java-media/jai/downloads/download-1_1_3.html
(For this library i've choose "Windows Auto-installation for Java Plug-in jai-1_1_3-alpha-lib-windows-i586.jar.zip"

http://download.java.net/media/jai-imageio/builds/release/1.1/
(For this library i've choose "http://download.java.net/media/jai-imageio/builds/release/1.1/jai_imageio-1_1-lib-windows-i586-jar.zip"

--------------------------------------------------------------------------------

CLASSPATH
--------------------------------------------------------------------------------
.;e:\users\user_profile\PortableApps\BookScanWizard_1.2\lib\jai_imageio_windows-
i586.jar;e:\users\user_profile\PortableApps\BookScanWizard_1.2\lib\jai_windows-i
586.jar
--------------------------------------------------------------------------------

PATH
--------------------------------------------------------------------------------
C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Wi
ndows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Pr
ogram Files\Intel\DMIX;.;e:\users\user_profile\PortableApps\BookScanWizard_1.2\l
ib\jai_imageio_windows-i586.jar;e:\users\user_profile\PortableApps\BookScanWizar
d_1.2\lib\jai_windows-i586.jar
--------------------------------------------------------------------------------

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: running from my own system not online run

Post by steve1066d » 24 Apr 2011, 12:45

If you are running the not webstart version you have to install a couple of packages in addition to BSW:

First install this:

http://java.sun.com/products/java-media ... 1_1_3.html
(choose the JRE installation)

Then this:

http://download.java.net/media/jai-imag ... lease/1.1/
choose the JRE version that matches the platform you are on.
Steve Devore
BookScanWizard, a flexible book post-processor.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests