There are three kinds of installations. The simplest usage of JavaCaml is to put the interpreter on a web server in order to run already compiled executables. Some more steps are required if you want to develop JavaCaml executables yourself, as you need the Objective Caml development environment as well as the specific libraries available for JavaCaml. Last but not least you can fetch the whole source tree and help me to improve the JavaCaml package.

Installation on a web server

You need only the compiled Java class files which can be put into a directory or into a JAR archive. The JAR archive is available here. It is not required to configure the web server specially, any server should do the job.

To include JavaCaml as applet into an HTML document, use the APPLET tag as follows:

<APPLET CODEBASE="directory containing the JAR archive"
        NAME="the name of the applet"
        WIDTH="the screen width of the applet"
        HEIGHT="the screen height of the applet">
<PARAM NAME="JAVACAML_SRC" VALUE="file name of the OCaml bytecode">

Installation for the development of new JavaCaml executables

Additionally, you need: Please go to the download page to get the archives.

The description how to compile OCaml source such that it is runnable with JavaCaml can be found here.

Installation of the complete source

In this case you need JDK 1.1.x additionally. The source archive can be found on the download page.