I was unable to convert a Word 2007 document into JavaHelp without getting errors. Using Process monitor, I saw that just before the error, the program was failing to read HKEY_CURRENT_USER\Software\chmProcessor\javahelppath. I added the corresponding STRING item pointing to my C:\Program Files\jh2.0 folder, which solved the issue.
The first time chmPorcessor is run for a given user, the program should add this registry value. Or it should look to the JAVAHELP_HOME environment variable (which I has set correctly).
Incidentally, I made a change to the jhindexer.bat file that comes with JavaHelp 2.0. I added quotes around the JAR filename, e.g.:
java -jar "%JAVAHELP_HOME%\javahelp\bin\jhindexer.jar" %1 %2 %3 %4 %5 %6 %7 %8 %9
I made a similar change to the jhsearchg.bat file.
With the above changes, i can successfully split Word docs into JavaHelp files and generate a CHM. Thanks for the great product.
Hello. The registry entry for the javahelp path is set by the application if you go to the menu file > settings and you put the path there. The application was not testing if that path was existing.Now it does (v1.6.3). Now it gives a warning if the path is not found.
About the quotes... I cannot do anything about that. Send the bug to Oracle :)
Fixed