Java Wrapper for gclib
Note that the wrapper requires the C Library to be installed.
Java 17 or newer is supported. The examples are provided as a Maven project.
Windows
> robocopy /s "%GCLIB_ROOT%\examples\java" java
> cd java
> mvn compile
> mvn exec:java -Dexec.mainClass=examples.HelloWorld --quiet
gclib version is 2.5.0
Hello World!
Linux
$ cp -r /usr/share/gclib/examples/java java
$ cd java
$ mvn compile
$ mvn exec:java -Dexec.mainClass=examples.HelloWorld --quiet
gclib version is 2.5.0
Hello World!

