Using Java in Octave Online
For performance reasons, Java bindings are disabled by default in Octave Online.
To enable Java bindings, run the following command:
setenv("OCTAVE_JAVA_DIR", "")
You may consider adding this to your .octaverc file.
Please provide feedback on Java bindings by opening a support ticket.