This is a Console example

** Windows **********************************************

First create HelloWorldImpl.dll by compiling HelloWorldImpl.dpr
with Delphi.
The second step is to compile Main.java and HelloWorld.java
with the Java compiler. For Sun's JDK this is javac.exe.
You will get Main.class and HelloWorld.class.
All these files are already enclosed to speed things up.

Now you can start the Java program Main by executing
java Main
in a console window (DOS box).

** Kylix ************************************************

First create HelloWorldImpl.so by compiling HelloWorldImpl.dpr
with Kylix.
The second step is to compile Main.java and HelloWorld.java
with the Java compiler. For Sun's JDK this is javac.
You will get Main.class and HelloWorld.class.
Both .class files are already enclosed to speed things up.
You can remove HelloWorldImpl.dll on Linux.

You may have to include the Kylix bin directory and the current
directory into your library path.
Check if the environment variable LD_LIBRARY_PATH contains
these directories.
Sample entry: LD_LIBRARY_PATH=/opt/kylix/bin:.

Now you can start the Java program Main by executing
java Main
in a shell window.

*********************************************************

See the included documentation for details.