PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 07:40 
Edit the application shortcut and change "javaw" to "java" there. Next time it should start the converter with the console. Are there any exceptions or error messages on the console by the conversion?


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 11:07 
It starts, but the console just flashes on the screen and closes in less than a second.


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 11:12 
I'm not fully aware of how Java works on my PC. In the Java folder i have 3 subfolders:

jdk1.5.0_18
jre1.5.0_18
jre6

All of them have tons of .exe files in their bin folders. I now tried to use java.exe from the jre6\bin folder instead of javaw.exe. Did I try the correct one?


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 11:17 
Hmm... Any of them should be ok.

If it only flashes, open CMD.exe (or equivalent), change directory to the converter home and reproduce the command line call as it is defined in the shortcut. Hopefully it will print the error message to the CMD screen.


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 11:40 
Exception in thread "main" java.lang.NoClassDefFoundError: D:\Stefan\Programs\Dj
vu2Pdf\djvu2pdf/jar
Caused by: java.lang.ClassNotFoundException: D:\Stefan\Programs\Djvu2Pdf\djvu2pd
f.jar
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)
Could not find the main class: D:\Stefan\Programs\Djvu2Pdf\djvu2pdf.jar. Progra
m will exit.


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 11:46 
How does the command line string look like?


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 12:19 
D:\Stefan\Programs\Djvu2Pdf>djvu2pdf.jar
Exception in thread "main" java.lang.NoClassDefFoundError: D:\Stefan\Programs\Dj
vu2Pdf\djvu2pdf/jar
Caused by: java.lang.ClassNotFoundException: D:\Stefan\Programs\Djvu2Pdf\djvu2pd
f.jar
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)
Could not find the main class: D:\Stefan\Programs\Djvu2Pdf\djvu2pdf.jar. Progra
m will exit.

D:\Stefan\Programs\Djvu2Pdf>


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 12:30 
It should be something like that:
D:\Stefan\Programs\Djvu2Pdf>
"C:\Program Files\Java\jre6\bin\java.exe" -Xmx512m -jar "D:\Stefan\Programs\Djvu2Pdf\djvu2pdf.jar"


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 12:45 
C:\Program Files\Java\jre6\bin>java.exe -Xmx512m -jar "D:\Stefan\Programs\Djvu2P
df\djvu2pdf.jar"
org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: djvu2pdf
.ico (The system cannot find the file specified))
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:159)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26
)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:377)
at org.eclipse.swt.graphics.Image.<init>(Image.java:580)
at org.zefer.djvupdf.DjvuConverter.createContents(DjvuConverter.java:890
)
at org.zefer.djvupdf.DjvuConverter.open(DjvuConverter.java:184)
at org.zefer.djvupdf.DjvuConverter.main(DjvuConverter.java:172)
Caused by: java.io.FileNotFoundException: djvu2pdf.ico (The system cannot find t
he file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.swt.internal.Compatibility.newFileInputStream(Compatibili
ty.java:182)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:156)
... 6 more
org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: .\resour
ces\format.gif (The system cannot find the path specified))
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:159)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26
)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:377)
at org.eclipse.swt.graphics.Image.<init>(Image.java:580)
at org.zefer.djvupdf.DjvuConverter.createContents(DjvuConverter.java:119
8)
at org.zefer.djvupdf.DjvuConverter.open(DjvuConverter.java:184)
at org.zefer.djvupdf.DjvuConverter.main(DjvuConverter.java:172)
Caused by: java.io.FileNotFoundException: .\resources\format.gif (The system can
not find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.swt.internal.Compatibility.newFileInputStream(Compatibili
ty.java:182)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:156)
... 6 more
org.eclipse.swt.SWTException: i/o error (java.io.FileNotFoundException: resource
s\margins.gif (The system cannot find the path specified))
at org.eclipse.swt.SWT.error(SWT.java:4282)
at org.eclipse.swt.SWT.error(SWT.java:4197)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:159)
at org.eclipse.swt.graphics.ImageDataLoader.load(ImageDataLoader.java:26
)
at org.eclipse.swt.graphics.ImageData.<init>(ImageData.java:377)
at org.eclipse.swt.graphics.Image.<init>(Image.java:580)
at org.zefer.djvupdf.DjvuConverter.createContents(DjvuConverter.java:144
2)
at org.zefer.djvupdf.DjvuConverter.open(DjvuConverter.java:184)
at org.zefer.djvupdf.DjvuConverter.main(DjvuConverter.java:172)
Caused by: java.io.FileNotFoundException: resources\margins.gif (The system cann
ot find the path specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.eclipse.swt.internal.Compatibility.newFileInputStream(Compatibili
ty.java:182)
at org.eclipse.swt.graphics.ImageLoader.load(ImageLoader.java:156)
... 6 more

C:\Program Files\Java\jre6\bin>


  Subject: Re: Djvu to Pdf eBook converter
   PostPosted: 13 Jul 2012, 12:52 
Ooops, sorry. I didn't see your first line and made a wrong input. I did it correctly and t runs well now. At least until page 18 :) Thanks for the great support! The program is great!



[Reply]     [ 31 posts ]  Go to page Previous  1, 2, 3, 4  Next

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share