Book signing and Java problems

Share this...

Cornerstone Books Sat Nov 17th 2012Two things this time. First, the book signing at Cornerstone Books in North Finchley on Saturday went well. Some interesting conversations, some good contacts for the future, and some book sales! Now I have to think about how to follow this up.

Secondly, the Kindle Previewer program on my Mac suddenly stopped working a short time ago, and over the weekend I managed to get it working again with the help of a blog article by Adam Bien at
http://www.adam-bien.com/roller/abien/entry/if_the_kindle_previewer_won
It turns out that the latest version of the previewer (2.7.1) does not work with Java version 1.7 (also confusingly known as Java 7). So as and when some other program updates Java, the problem surfaces. In my case it was probably one of the application development programs I have installed, but as so many things use Java it could have been something different. Whatever the root cause, the result was that Kindle Previewer would not start up.

Fortunately the blog article tells you exactly what to do – follow the directions about opening the launch file and pasting in a specific line exactly as shown, and lo and behold everything works again. Basically what you are doing is forcing the previewer to continue to use the previous version of Java, rather than it automatically selecting the newest version. In brief, you need to find the launch file
/Applications/Kindle Previewer.app/Contents/MacOS/Launcher
and insert the following as a single line of text
export JAVA_HOME=”/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home”
directly after the initial line
#!/bin/sh
If this makes no sense at all to people then there are step by step instructions and a couple of alternate options at the above blog.

A quick experiment suggests that there is not a corresponding problem on a Windows machine, but I am not 100% certain that I have exactly the same versions of everything installed there.

I imagine that Amazon will bring out an updated version at some point, but until then this will keep you able to use the previewer.


Share this...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.