Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 05-27-2011, 03:47 PM   #1
Erin
eBook Developer
Erin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Location: North Carolina
Device: Kindle, iPad, Nook
Using epubcheck .jar with Java

I'm having issues getting the epubcheck-1.2.jar + JAVA combination to work correctly. I've gone through as much troubleshooting as I can figure out and I'm still getting the same errors.

This is what I'm doing to run the check and the subsequent errors.

This is the setting I have currently to *attempt* to correctly assign java to my PATH in the environment variables.



And, yes, I have tried using the jre6\bin line but with no success. Am I writing my path line incorrectly? Do I have it assigned to the wrong folder/file? I'm not a programmer and I'm trying to understand Java enough to run this checker locally since I develop a high volume of books. Any help is appreciated!

----Erin Campbell
----eBook Developer
----TIPS Technical Publishing, Inc.
Erin is offline   Reply With Quote
Old 05-27-2011, 05:30 PM   #2
DaleDe
Grand Sorcerer
DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.DaleDe ought to be getting tired of karma fortunes by now.
 
DaleDe's Avatar
 
Posts: 9,743
Karma: 5072190
Join Date: Aug 2007
Location: Grass Valley, CA
Device: EB 1150, EZ Reader, Literati, iPad 2
Since this has nothing to do with eBook reading and is about ePub generation I am moving this thread to the ePub forum where the experts are.
DaleDe is offline   Reply With Quote
Old 05-27-2011, 07:14 PM   #3
Erin
eBook Developer
Erin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Location: North Carolina
Device: Kindle, iPad, Nook
Thank you, I wasn't quite sure where to post.
Erin is offline   Reply With Quote
Old 05-27-2011, 08:06 PM   #4
PeterT
Taking a break; Fed up
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 7,190
Karma: 45329895
Join Date: Nov 2007
Location: Toronto
Device: Wife: Touch, Arc, Vox Me: Nexus 7, Glo
As an experiment I downloaded and installed the same version into C:\Tools\ePubCheck.

Executing it as
Quote:
D:\Downloads>java -jar c:\tools\epubcheck\epubcheck-1.2.jar "d:\Downloads\The_Land_sample.epub"
Epubcheck Version 1.2

ERROR: d:\Downloads\The_Land_sample.epub/OPS/content.opf(12): date value '2011/05/01' is not valid. The date must be in the form YYYY, YYYY-MM or YYYY-MM-DD 21 (e.g., "1993", "1993-05", or "1993-05-01"). See http://www.w3.org/TR/NOTE-datetime.

Check finished with warnings or errors!
However.... you do know that there was also a lib directory present that contains some additional classes. When I renamed that directory I got the exact same error as you did.

Double check that you have the jar file on your desktop AND a lib folder present there as well that should contain jing.jar and saxon.jar.
PeterT is online now   Reply With Quote
Old 06-06-2011, 03:32 PM   #5
Erin
eBook Developer
Erin began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Feb 2011
Location: North Carolina
Device: Kindle, iPad, Nook
Thank you, This was VERY helpful. What all of the "how-to" threads neglect to mention is that when you go to http://code.google.com/p/epubcheck/downloads/list you need to download the SOURCE *and* BINARY .zip files.

Most, if not all, only instruct to "download epubcheck-1.2.zip" which, well, was not terribly elaborate enough of a, ahem, command. I hope others find this thread helpful!
Erin is offline   Reply With Quote
Old 06-06-2011, 04:24 PM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 3,097
Karma: 5658305
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
Of course you can also use FlightCrew, which blows epubcheck out of the water...
Toxaris is offline   Reply With Quote
Old 06-12-2011, 11:57 AM   #7
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,824
Karma: 18755150
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Use FlightCrew and once FlightCrew says it's all OK, run it through ePubCheck and it should also say all is OK.
JSWolf is offline   Reply With Quote
Reply

Tags
.jar, epubcheck, java, path

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-300 the jar wattpad ebooks nygil123 Sony Reader 0 10-07-2010 02:53 AM
Web-based epubcheck upgraded to epubcheck 1.0.5 kjk ePub 4 02-09-2010 10:53 PM
jad and jar attributes do not match guitarfingertips Workshop 0 05-18-2009 03:57 AM
tor's jar files dgillette.rm ePub 5 12-28-2008 04:18 AM
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari Zire Lounge 4 05-24-2005 10:12 PM


All times are GMT -4. The time now is 11:01 PM.


MobileRead.com is a privately owned, operated and funded community.