Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Where is output from System.out.println in Jdeveloper?

525819Apr 11 2011 — edited Apr 11 2011
Hi,

I wrote a "Hello world" code as:

package Welcome;
public class Greeting {
public static void Hello() {
System.out.println("Hello World!");
}
}

then uploaded it in Oracle, then published as procedure Greetings:

CREATE or replace procedure GREETINGS AS LANGUAGE JAVA NAME 'Welcome.Greeting.Hello()';

and then ran within a PL/SQL block [using Jdeveloper]:

set serveroutput on;
begin
GREETINGS();
dbms_output.put_line('Hello again!');
END;

The output in "Script Output" pane is:

anonymous block completed
Hello again!

Where is "*Hello World*"?

Thanks already for answering such an awfully stupid question :) !
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 9 2011
Added on Apr 11 2011
1 comment
699 views