loadjava -u monitor/go2north@health -v -resolve test.java            --远程调用

[oracle@health java]$ load java -u monitor/go2north -v -resolve test.java

arguments: '-u' 'monitor/***' '-v' '-resolve' 'test.java'

creating : source test

loading  : source test

resolving: source test

Classes Loaded: 0

Resources Loaded: 0

Sources Loaded: 1

Published Interfaces: 0

Classes generated: 0

Classes skipped: 0

Synonyms Created: 0

Errors: 0

 

查询状态:

SQL>  SELECT object_name, object_type, status FROM user_objects WHERE object_type LIKE 'JAVA%'; 

 

OBJECT_NAME            OBJECT_TYPE         STATUS

------------------- -------

test                             JAVA SOURCE         VALID

 

test                             JAVA CLASS          VALID

 

javademo1                  JAVA SOURCE         VALID

 

JavaDemo1                  JAVA CLASS          VALID

09-18 19:08