Tagged articles
4 articles
Page 1 of 1
Architect
Architect
Aug 30, 2025 · Backend Development

How to Seamlessly Combine Java and Lua: A Step‑by‑Step Guide

This tutorial explains how to integrate Lua scripts into Java applications and how to call Java code from Lua, covering the LuaJ and LuaJava libraries, Maven dependencies, code examples for executing Lua, passing functions, dynamic extensions, and automatic script upgrades.

JavaLuaLuaJava
0 likes · 14 min read
How to Seamlessly Combine Java and Lua: A Step‑by‑Step Guide
Top Architect
Top Architect
Dec 13, 2022 · Backend Development

Using LuaJ to Call Java Methods from Lua and Vice Versa

This article explains the main features of LuaJ, provides usage examples for calling Java static methods from Lua (including handling signatures and return values), demonstrates how to pass Lua functions to Java, and shows how to embed and execute Lua scripts within Java code.

JNIJavabridge
0 likes · 12 min read
Using LuaJ to Call Java Methods from Lua and Vice Versa
Programmer DD
Programmer DD
Nov 28, 2022 · Backend Development

How to Bridge Lua and Java with luaj: Call Java Methods from Lua

This article explains how to use luaj, a Lua‑Java bridge, to call Java static methods from Lua, pass Lua functions to Java, handle method signatures, check call results, and manage error codes, providing practical code examples for seamless integration.

JNIJavaLua
0 likes · 9 min read
How to Bridge Lua and Java with luaj: Call Java Methods from Lua