Navigation:  Introduction >

Running

Previous pageReturn to chapter overviewNext page

The first thing to do is create your help file in Help and Manual. The program is designed to work with the temporary files created when you make HTML help from Help and Manual, so make sure you uncheck the option Delete temporary files after compilation when you compile your HTML help.

 

The HM2JHelp program parses all of the files that are defined in the *.hhp file generated by Help and Manual.  It is important that this file includes the stylesheet file (normally default.css).  If it does not, then the resulting JavaHelp will not be correctly formatted.  If the formatting is incorrect, you can open the *.hhp file in any text editor and check whether your stylesheet has been included.  Refer to the section, Including the stylesheet, if it is missing.

 

To use the application, double click on the HM2JHelp.jar file. This should start the application if you have Java installed correctly. If not, edit the HM2JHelp.bat file and change the line to point to your Java installation. Then try running the batch file.

If you haven't got Java installed, then you will need to get it from the Sun site -- why do you want JavaHelp if you haven't got Java :)

 

Once the program starts you are almost there.

Click on the Source folder button and browse to find the *.hhp file in the temporary file location ~tmphtml.
Click on the Target folder button to choose a folder into which to save the JavaHelp.
Click on Build to go for it.
Good luck.
Once the JavaHelp has been created, HM2JHelp will launch the resulting help file. See screenshot.

 

From version 1.0.13, it is also possible to run the program from the command line without displaying the user interface - see Running from the command line.