Datagrams - Permission Denied Error
Sat Feb 16 06:18:00 GMT 2002
Suman Sai wrote:
> I'm running RedHat 7.1, Kernel 2.4, and GCJ 2.9. I wrote a simple
> program that sends a Datagram Packet to 255.255.255.255. I'm getting a
> "Permission Deined" IOException in DatagramSocket.send().
> Any idea why this is happening? Doesn't happen when I run it using the
> Java VM, only when I use gcj.
Can you supply a small test case?
In any case, you should try with at least GCJ 3.0.x. The Java support in
2.9x is very old and we have made many improvements to the libraries
More information about the Java