Welcome to Javalib
Javalib is a library that parses Java
.class files into OCaml data
structures. Javalib offers primitives to extract information from,
manipulate, and generate valid
It is distributed under the GNU Lesser General Public License (see the LICENSE file).
We recommend you to install every required library and Ocaml version with opam.
Configuration and installation
Configuring and installing Javalib from sources is pretty simple. In the main repository, execute
$ ./configure.sh $ make $ make install
If you want to verify that Javalib is correctly installed and found by ocaml, this command should find the library path
$ ocamlfind query javalib
To clean the sources, run
$ make clean
To remove the library from your system, just do
$ make remove
If you want to generate the documentation, run
$ make doc
You can clean the doc with
$ make cleandoc
Before being able to use the modules presented in the API documentation, you need to
To get started with Javalib, read the tutorial.