Welcome to Java-GI
Java-GI generates Java bindings for native libraries including Gtk, LibAdwaita, GtkSourceview, WebkitGtk and GStreamer using GObject-Introspection data. The bindings use the Panama Foreign Function & Memory API (JEP-442) to directly access native resources from inside the JVM.
Please note that Java-GI is still under active development. Feedback is welcome.
How to use
Java-GI version 0.7.2 works with OpenJDK 20, and 0.8.0 with OpenJDK 21. They have been built with the following library versions:
|Library||Java-GI 0.7.x||Java-GI 0.8.x|
Java bindings for there libraries are available from Maven Central.
Java-GI converts API documentation from GObject-Introspection to Javadoc. For the library bindings published by Java-GI 0.8.0, the Javadoc is available here.
JAR files with the Javadoc and source code, to use offline in your IDE, are available from Maven Central.
You can find example applications in the java-gi-examples repository.
To build Java-GI for yourself, make changes, or use Java-GI to generate bindings for other (GObject-Introspection based) libraries, follow the instructions here. Please log issues, questions and requests on Github, or join the discussion on Matrix.