Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

11 Generating JavaHelp or Oracle Help > 11.3 Setting up a JavaHelp or Oracle Help project > 11.3.5 Establishing a JavaHelp environment


11.3.5 Establishing a JavaHelp environment

To use JavaHelp, you must have both JavaHelp and the Java Runtime Environment (JRE) installed on your system, and you must set some environment variables. If you plan to create .jar files, you will also need jar.exe from the Java Software Development Kit (JDK).

JavaHelp 2.0 requires Java Standard Edition (Java SE). Both Java SE and JavaHelp are available for download; see §11.2 Obtaining tools for a Java-based Help system.

Environment variables

You must create Windows environment variables JAVA_HOME and JHHOME, if they are not already defined on your system; for example, on Windows 2000 or Windows XP:

Control Panel > System > Advanced > Environment Variables

These environment variables are defined as follows:

JAVA_HOME   path\to\JavaSE\executables

JHHOME      path\to\JavaHelp\executables

For example:

JAVA_HOME=C:\Java\j2re1.4.2_03\bin

JHHOME=C:\JH\jh20\javahelp\bin

JavaHelp viewer

To check the results after Mif2Go generates JavaHelp files, you can use the JavaHelp viewer included in the JavaHelp installation: hsviewer.jar, located in the demos\bin directory. The JavaHelp System User’s Guide shows how to set up a shortcut to the viewer.



11 Generating JavaHelp or Oracle Help > 11.3 Setting up a JavaHelp or Oracle Help project > 11.3.5 Establishing a JavaHelp environment