步骤如下 1.直接在SQL命令中写入JAVA代码(用SYS帐号执行,不然权限等太麻烦) create or replace and resolve java source named udp as import java.net.DatagramPacket; import java.net.DatagramSocket; import java.net.InetAddress; public class udp { /* public static void main(String[] arg…