View Single Post
Old 08-15-2011, 01:17 PM   #22
William Campbell
Connoisseur
William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!William Campbell rocks like Gibraltar!
 
Posts: 94
Karma: 100001
Join Date: Feb 2010
Device: Kindle
Lightbulb

I ran into this problem too, after getting a new laptop with Win7. All was well under XP previously, then this mysterious Java error popped up when I tried adding guide elements.

Fiddling with IE 9 did nothing for me, but I found one other way around the problem. Mobipocket Generator will create the e-book fine; the problem only lies in entering the info into the program's interface. So I circumvented the dated software by editing the .opf in Notepadd++. Once re-opening in Creator, the desired information shows up.

The code for the guide is at the end, just before the closing </package>

Here's an example that is for start point, copyright page, and location of the toc, referencing the internal .html file (nothing external).

Code:
<guide>
  <reference type="start" title="Start" href="emeralds-never-fade.html%23prologue"></reference>
  <reference type="copyright-page" title="Copyright Page" href="emeralds-never-fade.html%23copyright"></reference>
  <reference type="toc" title="Table of Contents" href="emeralds-never-fade.html%23contents"></reference>
</guide>
The %23 of course is the # symbol to indicate an internal reference. Worked for me, perhaps it will for others stuck as I was.

Last edited by William Campbell; 08-15-2011 at 01:30 PM.
William Campbell is offline   Reply With Quote