Please check Java code of Oracle. I like to get the println() output into oracle console like DBMS_OUTPUT.PUT_LINE().
I have also created a function/procedure (without return in java) to call the java function. it executed fine and return the value (for function), BUT don't print anything into Oracle console (ServerOutput).
CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED "Azam/Azam_Test" as package Azam;
import java.lang.*;
public class Azam_Test {
public static String Azam_Test_Print(String testString) {
System.out.println(testString); // want this output into ORACLE console
return testString;
}
}