OS Type : Linux (x86)

Language : Pascal

Compiler : GPC

To compile and run programs with the use of functions, you first need an installed Java Runtime Environment (JRE1.1.*) at your computer. If you don't have one, please go first to the link section and download it (Please do not use the newer JRE1.2, cause its still bigger, slower and buggy). The JRE has to be in your PATH variable. To test it, open a shell and type:
$ jre
If the JRE is correctly installed, you will see the Java Runtime Environment options.

To compile a program with the use of japi functions you have to include the unit japi in the USES section.
uses japi;
Next you have to link the libjapi.a library to your object files:
$ gpc japi.pas yourprog.pas -o yourprog -ljapi

Download the unit file japi.pas (required)

Download the library (zipped) (required)

Download the sources (zipped tarball) (optional)

Download some Pascal examples (optional)

Note: some examples use a string unit strings.pas (optional)