Menu

#11 Requires additional registry entry

v1.7
closed
nobody
None
5
2014-03-16
2011-10-24
No

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.

Discussion

  • Antonio Fco. Bennasar Obrador

    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 :)

     
  • Antonio Fco. Bennasar Obrador

    Fixed

     
  • Antonio Fco. Bennasar Obrador

    • status: open --> closed
    • Group: --> v1.7
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.