The Java Interface is designed for calling Java functions from within Octave.
If you want to do the reverse, and call Octave from within Java, try
a library like
javaOctave
(http://kenai.com/projects/javaOctave) or
joPas
(http://jopas.sourceforge.net).