Actually, it’s pretty close … you need an empty ‘java’ module, so you can activate the BIF’s java:get_static/2 and java:call/4.
krab$ cat > java.erl
-module(java).^D
krab$ ./jerl
** Erjang R15B03 ** [root:/usr/local/lib/erlang] [erts:5.9.3.1] [smp S:2 A:10] [java:1.7.0_51] [unicode]
Eshell V5.9.3.1 (abort with ^G)
1> c(java).
{ok,java}
2> java:get_static('java.lang.Math', 'PI').
3.141592653589793
3> java:call(234, 'getClass', [], []).
'erjang.ESmall'
java:call’s 3rd argument is a list of atoms, designating the declared types of arguments.
The BIFs are defined in src/main/java/erjang/m/java/Native.java if you want to see their implementations.