Sample code for Triton's java test