GlueGen
GlueGen is a Java tool which automatically generates the Java and Java Native Interface (JNI) code needed to call C libraries from Java code.[src] It reads in ANSI C header files and GlueGen configuration files, and emits C code.[src] As JNI can be complex, Gluegen simplifies the process of binding Java to C native libraries.[src] It was originally developed for Java OpenGL (JOGL), a Java OpenGL library, although the project has since been separated so it can be used with other libraries.[src] As of 2010, it is also used in Java OpenAL (JOAL), which allows Java code to access OpenAL libraries.[src]
GlueGen is a Java tool which automatically generates the Java and Java Native Interface (JNI) code needed to call C libraries from Java code.[src] It reads in ANSI C header files and GlueGen configuration files, and emits C code.[src] As JNI can be complex, Gluegen simplifies the process of binding Java to C native libraries.[src] It was originally developed for Java OpenGL (JOGL), a Java OpenGL library, although the project has since been separated so it can be used with other libraries.[src] As of 2010, it is also used in Java OpenAL (JOAL), which allows Java code to access OpenAL libraries.[src] ==Use of GlueGen in JOGL== For JOGL, GlueGen is used to bind OpenGL to Java, and to the low-level windowing system application programming interface (APIs) on the Microsoft Windows, X Window System and Mac OS X platforms.[src] ==See also== SWIG is another free computer software tool used to connect programs written in C/C++ with various scripting languages, and to C# and Java.[src] Glue code ==External links== GlueGen's API GlueGen's Manual GlueGen Native Data & Function Mapping for Java™[src]
13 sentences · 13 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"GlueGen." encyclopegia.org, 2026, https://encyclopegia.org/wiki/gluegen. Accessed 05 December 2026.
Chicago
"GlueGen." encyclopegia.org. Accessed December 5, 2026. https://encyclopegia.org/wiki/gluegen.
APA
encyclopegia.org. (2026). GlueGen. Retrieved December 5, 2026, from https://encyclopegia.org/wiki/gluegen
Accessed December 5, 2026 · CC BY-SA 4.0 · citation page · JSON